Socket File
Hi:
We're trying to set up a Boonex / Dolphin Site on a GoDaddy Host....we've got the datebase created, but can't seem to get the
paths working when setting up Boonex. Does anyone know the correct path setting for the Sock file ? GoDaddy says
it's in /tmp/mysql-115.sock but that doesn't work so if someone has set up a site on Godaddy, they'd probably know the correct complete Path.
Thanks.
Alan
- Then click on the link: Show MySQL system variables
- Then scroll down to you see "socket" - you will find the correct path here.
AWS
Error Message:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/u/s/e/username/html/file.php on line 2
Cause:
This is caused by your script trying to connect to 'localhost' as the MySQL server. The error displays the exact line that needs to be altered (in this case, it is on /file.php line 2).
Resolution:
To resolve this error, change your database connection string see more
$db['host'] = 'database_host';
$db['sock'] = 'database_sock';
$db['port'] = 'database_port';
$db['user'] = 'database_user';
$db['passwd'] = 'database_passwd';
$db['db'] ='database_navn';
Default 'database_host' are localhost when you install Dolphin, you have to change this to your correct server name,
I think if you use GoDaddy you can't use localhost.
If it not work well when you have edit your header.inc.php see more