Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente | |||
| linux:changerootpwdmysql [08/12/2018 09:21] – modification externe 127.0.0.1 | linux:changerootpwdmysql [09/08/2019 08:24] (Version actuelle) – Martin | ||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| ** 1. Stop mysql:** | ** 1. Stop mysql:** | ||
| - | < | + | < |
| ** 2. Set the mySQL environment option** | ** 2. Set the mySQL environment option** | ||
| - | < | + | < |
| ** 3. Start mysql usig the options you just set** | ** 3. Start mysql usig the options you just set** | ||
| - | < | + | < |
| ** 4. Login as root** | ** 4. Login as root** | ||
| - | < | + | < |
| ** 5. Update the root user password with these mysql commands** | ** 5. Update the root user password with these mysql commands** | ||
| - | < | + | < |
| -> WHERE User = ' | -> WHERE User = ' | ||
| mysql> FLUSH PRIVILEGES; | mysql> FLUSH PRIVILEGES; | ||
| Ligne 22: | Ligne 22: | ||
| ** 6. Stop mysql** | ** 6. Stop mysql** | ||
| - | < | + | < |
| ** 7. Unset the mySQL envitroment option so it starts normally next time** | ** 7. Unset the mySQL envitroment option so it starts normally next time** | ||
| - | < | + | < |
| ** 8. Start mysql normally:** | ** 8. Start mysql normally:** | ||
| - | < | + | < |
| ** 9. Try to login using your new password:** | ** 9. Try to login using your new password:** | ||
| - | < | + | < |