MySQL problem with vBulletin


#1

I’m getting this error when I try to log into my Admin CP on vBulletin:

mysqli_real_connect() [function.mysqli-real-connect]: (HY000/2002): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
/home/.rama/theopenjam/theopenjam.net/admincp/includes/class_core.php on line 1138

MySQL Error :
Error Number :
Request Date : Sunday, September 28th 2008 @ 02:30:28 PM
Error Date : Sunday, September 28th 2008 @ 02:30:28 PM
Script : http://www.theopenjam.net/admincp/index.php
Referrer : http://www.theopenjam.net/install/install.php?step=13
IP Address : 70.229.81.222
Username :
Classname : vB_Database_MySQLi
MySQL Version :

i have been told this is a server-side issue. what can I do to remedy this problem?

thanks


#2

Try using your mysql hostname instead of localhost in your config.php. That worked for me while installing.

I’m getting stuck on Step 6 ‘Master Language’ of the install now though.

DAN


#3

it is already set to mysql.theopenjam.net, not localhost

I had trouble getting the installation script going, but got past that. now I can’t acces AdminCP!


#4

Did you change the default directory name “admincp” in your config.php? I did for security reasons.

You might not have manually changed the directory name to match yet.


#5

Can you log into the database from your browser? If you go to mysql.theopenjam.net, you’ll get the username and password prompt. Those are the ones in your vBulletin config.

-Scott


#6

yep. all correct. I don’t know why it wouldn’t work…

thanks for any help!


#7

found this article:

could this be the solution to my problem?