Coderwall
Ruby
Python
JavaScript
Front-End
Tools
iOS
More
Tips
Ruby
Python
JavaScript
Front-End
Tools
iOS
PHP
Android
.NET
Java
Jobs
Jobs
Sign In or Up
Joined May 2014
·
peacengell
Manoj Maracheea
Mauritius
·
0 Protips
1 Comments
Posted to
SOLVED: Can't connect to local mySQL server through socket /tmp/mysql.sock
over 1 year ago
Hello,
I found a solution,
add this to your my.cnf file. without "---".
[client]
socket=/var/lib/mysql/mysql.sock # change this to your sock file.
Enjoy.
Achievements
1 Karma
0 Total ProTip Views
Hello,
I found a solution,
add this to your my.cnf file. without "---".
[client]
socket=/var/lib/mysql/mysql.sock # change this to your sock file.
Enjoy.