MySQL DBA - Tips and Techniques Magazine

11 Nov 2014

Change root mysql password

Log onto mysql as root

 

            use mysql;

 

            update user set password=PASSWORD("newpassword") where user='root';

 

            flush privileges;

No comments:

Post a Comment