Re: Can't seem to create a new user account
Posted by:
Rick James
Date: February 25, 2009 09:59PM
http://dev.mysql.com/doc/refman/5.0/en/grant.html
GRANT ALL ON dbname.* TO username@'%' IDENTIFIED BY 'pwd';
The hostname should probably be 'localhost' (instead of '%') if you are connecting locally.
ON *.* gives you access to all dbs.
FLUSH PRIVILEGES (or exiting the session) is necessary for anyone else to see the new/changed GRANT.
Subject
Written By
Posted
February 24, 2009 12:07AM
February 24, 2009 01:25AM
February 25, 2009 12:12AM
Re: Can't seem to create a new user account
February 25, 2009 09:59PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.