well guys i mange to get my vb forum istallation going but i run in to these problem

Step 2) Connect to the database

Attempting to attach to database

Error description: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /home/www/universal.mywebcommunity.org/forum/includes/class_core.php on line 274

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.


I get these problem but the answer is here


How can I access my database online? [Click to see answer]

Login your Contorl Panel, click on the phpMyAdmin icon, then use the following credentials:

• Username: The database name you have assigned, listed inside Database Manager section of your Control Panel;
• Password: The database password you have assigned;

[x] hide this answer

3. I can't establish MySQL connection and get this error: "Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ? [Click to see answer]

You cannot make connection through socket, please use MySQL settings to establish connection ( please refer to previous question ).
Any help guys

Hi Flaco,
it looks to me like you didn't edit includes/config.php to enter MySQL login information.
So go to your Control panel, find out the database name, user name and password and fill it in there.
You may have to create the database first, most web hostings don't create one for you by default.

This article has been dead for over six months. Start a new discussion instead.