How to install Concrete5.7 manually with different socket?

Permalink 1 user found helpful
I am trying to install a concrete5 site to the hosting of University of Washington. I set up MySQL via Terminal and file system via FileZilla. Then I ran concrete5 and got:

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

How could I switch default socket for '/rc13/d06/accountname/mysql.sock'?

Thank you,

View Replies: View Best Answer
CMSDeveloper replied on at Permalink Best Answer Reply

Can be a configuration in the php.ini or my.ini (my.cnf)
jero replied on at Permalink Reply
You most likely need to alter the setting of mysqli.default_socket in your php.ini file. There are various ways to do this which will depend on your server environment.