Can't connect to mysql: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
iamthom opened this issue · comments
Hi, I'm trying your repo, and it is very great!
Well, got an issue with mysql. I could access this mysql -h localhost -P 3306 --protocol=tcp -uroot -p
. But, my PHP app, cant connect to the database and throw error Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
How can I solve this?
Check out #11 (comment)
You rocks! Many thanks! It works now.
Beauty, no problem!