Advertisement
asanchez75

mysql/reset

May 12th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. http://www.ecualug.org/2007/04/03/forums/como_resetear_password_de_mysql
  2.  
  3. /etc/init.d/mysqld stop
  4.  
  5. /usr/bin/mysqld_safe --user=root --pid-file=/var/run/mysqld/mysqld.pid --skip-grant-tables &
  6.  
  7. /usr/bin/mysql -u root mysql
  8.  
  9. update user set password=password('passwordnuevo') where User='root' and host='localhost';
  10.  
  11. flush privileges;
  12.  
  13. ===========================0
  14. sudo apt-get remove --purge mysql\*
  15. http://forums.linuxmint.com/viewtopic.php?f=47&t=109711
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement