mysql xampp machintosh - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (Mysql::Error)
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (Mysql::Error)
if you got error like that when trying to connect mysql in xampp. use these command:
ln -s /Applications/xampp/xamppfiles/var/mysql/mysql.sock /tmp/mysql.sock
Written by Noval Agung Prayogo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#