Search found 2 matches

by Zedic
Fri 5. May 2006, 20:29
Forum: phpwcms Installation Troubleshooting English
Topic: MySql mysql.sock not in default location. Help????
Replies: 1
Views: 1242

Fixed mysql.sock problem.

Okay, I fixed my own problem by setting the default path to the mysql.sock file in my php.ini file.


php.ini
mysql.default_socket=/path/to/mysql.sock


:idea: But what if you are using more than one database and don't want to use the default php.ini setting? This should also be handeled in the ...
by Zedic
Wed 3. May 2006, 18:07
Forum: phpwcms Installation Troubleshooting English
Topic: MySql mysql.sock not in default location. Help????
Replies: 1
Views: 1242

MySql mysql.sock not in default location. Help????

My webhost put mysql.sock in different location. It is not in /tmp/mysql.sock They put it under /mysql/mysql.sock

Where do I change this?

Here is the error i'm getting.


Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 ...