Difference between revisions of "Setting the root password"

From MyWiki
Jump to: navigation, search
(Created page with "<source lang="sql"> mysql> UPDATE mysql.user SET Password=PASSWORD('MyNewPass') -> WHERE User='root'; mysql> FLUSH PRIVILEGES; </source>")
(No difference)

Revision as of 08:28, 9 October 2014

mysql> UPDATE mysql.USER SET Password=PASSWORD('MyNewPass')
    ->                   WHERE USER='root';
mysql> FLUSH PRIVILEGES;