MySQL problem with vBulletin

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/ 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 :
Referrer :
IP Address :
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?


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.


it is already set to, not localhost

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

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.

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


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

thanks for any help!

found this article:

could this be the solution to my problem?