Skip to content


mysql socket error when installing frogcms

You are trying to install frogcms on your webserver, but during table creation you get following error message:

SQLSTATE[HY000] [2002]
Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2)

The solution is to change the hostname in the mysql connect information screen into 127.0.0.1 instead of localhost.
If the port number mysql is running on is different than the default, mysql ignores it when you do not specify 127.0.0.1.

More information can be found here: http://forum.madebyfrog.com/topic/483

Posted in Mysql, Websites. Tagged with , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.