MySQL Could not create unix socket lock file

When trying to reset MySQL 8 user root password, I got the following error message in the log file (/var/log/mysql/error.log).

The error is

To fix the error, create the folder, and change its ownership to user “mysql”.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.