-1

I try to run mysqld and here's the dump I get:

https://pastebin.com/TCk2YWQN

I tried re-installing mysql, but the same thing happens. Just running mysql returns ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

3
  • The line 2017-07-17T14:58:36.227339Z 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory. in your log is telling you what you should look for. Somewhere, one of the directories needed by MySQL does not have the proper access rights for the mysql process. Under which user is the process running? – joanolo Jul 17 '17 at 21:27
  • This line, error code 13 is permissions. '2017-07-17T14:58:36.227312Z 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.' – eroomydna Jul 17 '17 at 21:45
  • Yes always look for [ERROR] part and work towards fixing it. – Mannoj Jul 19 '17 at 3:03
0

I fixed the problem by removing mysql completely and also deleting all databases. You probably don't want to do this in a prod server or with live data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.