The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
new insallation, can't connect to mysql.sock error
ok, this is frustrating as hell.... i've read thru the installation instructions thoroughly, and felt I was ready to install Vbulletin on my site
..but every time I get to step 3, I get:
Error description: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' First I thought I had an error in the config.php file, like the vbulletin installer suggests, so I double & triple checked that. Everything is exactly as my webhost suggests . Second I thought it was mysql server, and logon on to my SQL admin, and it says the server has been running since Dec, 10 2005. so I dont know what else to do other then sit on my butt and wait for business hours for my webhost .. oh, the server is using mysql-4.0.22-r2 and is running Gentoo Linux |
#2
|
|||
|
|||
Do you have shell access to your server?
First thing to try: Look in /etc/my.cnf, and see if there is a section called [client]. If not, try adding this: [client] socket=/var/run/mysqld/mysql.sock If that doesn't work: How is the SQL server defined in your config.php? If you're using the IP address of your box, try setting it to simply 'localhost'. |
#3
|
|||
|
|||
the server is defined as
$config['MasterServer']['http://mysql.example.com'] $config['MasterServer']['3306'] and the initial setting i tried was localhost... apparently i don't have shell access... i'm using this: http://www.phpmyadmin.net/ as supplies to me by my webhost... |
#4
|
|||
|
|||
Do yourself a favor and edit out your server info from that post.
The server and port info in config.php looks correct, it just seems that that client call is undefined in your server's MySQL setup. Actually, drop the http:// from the MasterServer line, that could indeed be the root of all evil, since http on that box is listening on port 80, and you're trying to connect via httpd on port 3306. |
#5
|
|||
|
|||
still no go......
|
#6
|
|||
|
|||
I'm out of ideas. Your host doesn't have any weekend support? That's rather sour.
Shot in the dark, perhaps try changing this line: Code:
$config['Database']['dbtype'] = 'mysql'; |
#7
|
|||
|
|||
well, thanx for helpin me out..... i really appreciate it
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|