Created
April 18, 2019 19:04
-
-
Save jwu910/4b4e01361a646fa11d3684e4659de99c to your computer and use it in GitHub Desktop.
Mysql cant run because socket doesnt exist?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /var/run/mysqld; sudo chown mysql /var/run/mysqld | |
sudo mysqld_safe --skip-grant-tables & | |
Or | |
mkdir -p /var/run/mysqld && chown mysql:mysql /var/run/mysqld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment