error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' — Missing /var/run/mysqld/mysqld.sock

后端 未结 30 2108
日久生厌
日久生厌 2020-11-22 10:49

My problem started off with me not being able to log in as root any more on my mysql install. I was attempting to run mysql without passwords turned on... but whenever I

30条回答
  •  伪装坚强ぢ
    2020-11-22 11:29

    I think your MySQL server has not started. So start the server using one of the following commands.

    #services mysql start
    

    or

    #/etc/init.d/mysql start
    

提交回复
热议问题