from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to: navigation, search

Recovering / Setting passwords

A lot of the instructions online for doing this no longer work with 5.7. The following is true for version 5.7.24-0ubuntu0.18.04.1

Obsolete instructions:

Also, you may need to create the /run/mysql folder and chown it to mysql:adm or whatever user is appropriate on your system. (You can determine what user:group MySQL is using on your system by looking at the log files, typically /var/log/mysql.