Help with mysql error

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
BWOL
Registered User
Posts: 17
Joined: Wed Apr 05, 2006 9:31 pm

Help with mysql error

Post by BWOL »

Hi,

I got this error when trying to get to the forum www.bodyworkonline.com

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/bodywork/public_html/forum/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/bodywork/public_html/forum/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/bodywork/public_html/forum/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database


Could someone please explain what this means and what can be done to fix it?

Thanks.

User avatar
CTCNetwork
Former Team Member
Posts: 15424
Joined: Fri Dec 19, 2003 3:50 am
Location: In that Volvo behind you!
Contact:

Post by CTCNetwork »

Hi,

Maybe the database server is unavailable?
Can you connect to the database with phpMyAdmin?
Have you checked with the hosts?

Des. . . :wink:
Density:- Not just a measurement~Its a whole way of Life.! ! !
| Welcome! | RTFM!!! | Search! It's Easy! | Problem? | Spam? | Advice! |

BWOL
Registered User
Posts: 17
Joined: Wed Apr 05, 2006 9:31 pm

Post by BWOL »

Thank you very much for the reply.

We are up a running again, so it must have just been the database server.

Locked

Return to “2.0.x Support Forum”