Skip to content

Instantly share code, notes, and snippets.

@jwu910
Created April 18, 2019 19:04
Show Gist options
  • Save jwu910/4b4e01361a646fa11d3684e4659de99c to your computer and use it in GitHub Desktop.
Save jwu910/4b4e01361a646fa11d3684e4659de99c to your computer and use it in GitHub Desktop.
Mysql cant run because socket doesnt exist?
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