Socket File

AWS717 posted 8th of February 2008 in Community Voice. 5 comments.
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


 
Comments
·Oldest
·Top
Please login to post a comment.
okweb
If GoDaddy have phpMyAdmin, then go to phpMyAdmin,

- Then click on the link: Show MySQL system variables
- Then scroll down to you see "socket" - you will find the correct path here.
AWS717
Thanks for your reply. We had already done that, and it said that the path was /tmp/mysql-115.sock but it still didn't work so was wondering if there was an additional prefix on that. Have you ever set up a Dolphin account on GoDaddy? Thanks

AWS
okweb
Maybe this can help you, from GoDaddy help center:

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 to use the correct server name. This can be found in the MySQL section of your hosting control panel.


Incorrect Example:
mysql_connect("localhost", "username, "password");

Correct Example:
mysql_connect("mysql12.secureserver.net", "username", "password");

For more information see <a href="/topic/67/article/39" target="_blank">Choosing a Host Name for Your SQL Database</a>.
okweb
You can edit this adress in header.inc.php,

$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 file, you may probely install it again and write the correct address/name when you install it!!
Hope it help you!!
Ottar.
adham
did you get to the cron job yet??? let me know how did you do it
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.06200098991394