/ Published in: SQL

To grant all privileges to a user from any location login to the mysql shell and run the following queries.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
GRANT ALL PRIVILEGES ON *.* TO username@localhost IDENTIFIED BY 'PasswordHere' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON *.* TO username@"%" IDENTIFIED BY 'PasswordHere' WITH GRANT OPTION; FLUSH PRIVILEGES;
URL: http://www.bytechemist.com/2008/06/30/grant-mysql-privileges/
Comments
