Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save azizultex/04e6e340fcb60c19b42c336ff9226aaf to your computer and use it in GitHub Desktop.
Save azizultex/04e6e340fcb60c19b42c336ff9226aaf to your computer and use it in GitHub Desktop.
Can't connect to local MySQL server through socket '/usr/local/ampps/var/mysql.sock' (111) Ampps ubuntu error
// resource:
// 1. https://www.zyxware.com/articles/5539/solved-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysqld-sock
sudo service mysql start
or
/etc/init.d/mysql start
ps -A|grep mysql
sudo pkill mysql
ps -A|grep mysqld
sudo pkill mysqld
restart mysql at Ampps app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment