MySQL Forums
Forum List  »  Newbie

Re: How to change mysql username from "root" to "apps"
Posted by: raveesh Lawrance
Date: February 26, 2009 10:49PM

i change mysql username using the following query
update mysql.user set user = 'admin' where user = 'root';
flush privilages;

now i can login successfully with the username "admin". but it is showing an error while creating a database.

Options: ReplyQuote




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.