Log in

View Full Version : installation error


Mag1c
02-22-2008, 10:20 PM
Alright well, I edited my vBulletin config.php uploaded it to my FTP. Ran the installation... But at step 2, when it connects to the database I get an error..

Here's the error..

Error description: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /homepages/45/d233038124/htdocs/forum/includes/class_core.php on line 274

I can't figure out what's wrong.

Help please?

bazzup
02-23-2008, 08:29 AM
make sure the details you entered are correct

snakes1100
02-23-2008, 11:20 AM
Error description: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /homepages/45/d233038124/htdocs/forum/includes/class_core.php on line 274


That error would indicate one of two things, your host uses multiple mysql servers and you ahve set the host incorrectly in the config.php or the local mysql server is not running.

Typically on most bloated cheap hosts, when you create a new mysql database from their hosting admin panel, it will tell what server its created on, go to your host admin panel and recheck what mysql server the new db is on.