Posted By


Aminreza on 08/07/13

Tagged


Statistics


Viewed 692 times
Favorited by 0 user(s)

MySQL_reset_root_pass


/ Published in: MySQL
Save to your folder(s)

Reset MySQL root password


Copy this code and paste it in your HTML
  1. service mysql stop
  2. /usr/bin/mysqld_safe --skip-grant-tables &
  3. mysql --user=root mysql
  4. update user set Password=PASSWORD('new-password-here') WHERE User='root';
  5. flush privileges;
  6. exit
  7. fg
  8. Control + C
  9. service mysql start

URL: http://ubuntu.flowconsult.at/en/mysql-set-change-reset-root-password/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.