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 ...
Search found 2 matches
- Fri 5. May 2006, 20:29
- Forum: phpwcms Installation Troubleshooting English
- Topic: MySql mysql.sock not in default location. Help????
- Replies: 1
- Views: 1242
- 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 ...
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 ...