Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)
- ps -feax | grep mysqld
- 0 8308 1 0 0:00.08 ?? 0:00.11 /bin/sh /usr/local/mysql/bin/mysqld_safe
- sudo /usr/local/mysql/bin/mysqld_safe &
- mysqladmin -u root -p -h127.0.0.1 --protocol=tcp shutdown
- # Run the following commands
- mysqld stop
- mysql.server start
- mysqld stop
- mysql.server start
- mysql -u root
- mysql -u <username> -p<password> -h <yourhostname>
Add Comment
Please, Sign In to add comment