Created
June 18, 2013 05:25
-
-
Save marcialca/5802834 to your computer and use it in GitHub Desktop.
Reset MySQL root Password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Paramos el servidor MySQL: | |
| sudo /etc/init.d/mysql stop | |
| Arrancamos la configuración de mysqld: | |
| sudo mysqld --skip-grant-tables & | |
| Login en MySQL como root: | |
| mysql -u root mysql | |
| Cambiamos la contraseña por nuestra NuevaContraseña: | |
| UPDATE user SET Password=PASSWORD('NuevaContraseña') WHERE User='root'; FLUSH PRIVILEGES; exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment