Mark's Tech Stuff
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Tuesday, May 20, 2008
Resetting MySQL Root Password
Resetting the root password for MySQL can be done by using the following commands:
1: use mysql;
2: UPDATE user SET Password = PASSWORD("newpassword") WHERE user = 'root';
3: flush privileges;
(Tested on MySQL 5.1.11)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment