error code today
Moderators: Time Traveller, trance
-
- Custom Rank 4 U! Ask an Admin!
- Posts: 1561
- Joined: Fri Jul 21, 2006 11:43 am
- Location: Autobot city, Earth
error code today
hey guys,
I have gotten this error a few times today and have had to wait 5 mins or so to get back on...
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/trance/public_html/forum/db/mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/trance/public_html/forum/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/trance/public_html/forum/db/mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database
I have gotten this error a few times today and have had to wait 5 mins or so to get back on...
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/trance/public_html/forum/db/mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/trance/public_html/forum/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/trance/public_html/forum/db/mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database
- Time Traveller
- Father Time (Admin)
- Posts: 6470
- Joined: Mon Dec 29, 2003 1:12 am
- Location: 90482 Orcus
- Contact:
-
- Custom Rank 4 U! Ask an Admin!
- Posts: 8745
- Joined: Wed Jul 12, 2006 12:00 pm
- Location: Kolkular
- Time Traveller
- Father Time (Admin)
- Posts: 6470
- Joined: Mon Dec 29, 2003 1:12 am
- Location: 90482 Orcus
- Contact:
- Time Traveller
- Father Time (Admin)
- Posts: 6470
- Joined: Mon Dec 29, 2003 1:12 am
- Location: 90482 Orcus
- Contact:
- Time Traveller
- Father Time (Admin)
- Posts: 6470
- Joined: Mon Dec 29, 2003 1:12 am
- Location: 90482 Orcus
- Contact:
-
- Custom Rank 4 U! Ask an Admin!
- Posts: 8745
- Joined: Wed Jul 12, 2006 12:00 pm
- Location: Kolkular
Just for future reference, all "mysql_connect()" errors have to do with the database being unavailable. Almost always it is just temporary while the server reboots or something.
Before we switched servers, there was no telling how long the DB would be down, but the new server seems much more reliable, and they have live tech support as well
Before we switched servers, there was no telling how long the DB would be down, but the new server seems much more reliable, and they have live tech support as well
-
- Custom Rank 4 U! Ask an Admin!
- Posts: 8745
- Joined: Wed Jul 12, 2006 12:00 pm
- Location: Kolkular