Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Can't connect to mysql: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' #43

Closed
iamthom opened this issue May 10, 2016 · 3 comments

Comments

@iamthom
Copy link

iamthom commented May 10, 2016

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?

@kasperisager
Copy link
Owner

Check out #11 (comment)

@iamthom
Copy link
Author

iamthom commented May 11, 2016

You rocks! Many thanks! It works now.

@iamthom iamthom closed this as completed May 11, 2016
@kasperisager
Copy link
Owner

Beauty, no problem!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants