Can't connecet to Database

Connection to database problem,messega is Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Quote · 7 Nov 2008

im having the same error message after installation.

Any clues anyone?

Quote · 29 Dec 2008

Make sure to use this format for both Database name and Username fields.

.

The correct names can be found in your cpanel - MySQL Databases - Current Databases.

.

Database Name ='username_databasename';
User Name ='username_username';
Password ='your password';

.

Make sure you have added permissions to the database user.

.

Open header.inc.php

look for

.

$db['host']                = 'localhost';
$db['sock']                = '';
$db['port']                = '';
$db['user']                = 'username_username';
$db['passwd']              = 'password';
$db['db']                  = 'username_databasename';

.

Hope it helps.

Quote · 29 Dec 2008

thanks. I fix it just typing in the field the full path of my database host (the internal path). I didnt need to edit the inc file.

just type your (db#####.hosting.com) and voila.

Quote · 29 Dec 2008
 
 
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.