database connection problem

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
sacluded
Registered User
Posts: 2
Joined: Fri Mar 31, 2006 2:04 am

database connection problem

Post by sacluded »

I've been runing stable with no changes for a couple of weeks. I've tried searching but not getting a results page.


URL: redemption-guild.info
Template(s) used: dusty green
Any and all MODs: WoWitem stats
Do you use a port of phpBB: no
Version of phpBB: 2.0.19
Version of PHP: 4.4.2
Which database server and version: MySQL 4.0.20
Host: 1and1.com
Did someone install this for you/who: no
Is this an upgrade/from what to what: no
Is this a conversion/from what to what: no
Have you searched for your problem: yes
If so, what terms did you try:

Warning: mysql_connect(): Unknown MySQL Server Host 'db286.perfora.net' (2) in /homepages/30/d101717289/htdocs/ilg/phpBB2/db/mysql4.php on line 48

Unknown MySQL Server Host

/db/mysql4.php on line 48

State the nature of your problem:


Warning: mysql_connect(): Unknown MySQL Server Host 'db286.perfora.net' (2) in /homepages/30/d101717289/htdocs/ilg/phpBB2/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /homepages/30/d101717289/htdocs/ilg/phpBB2/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /homepages/30/d101717289/htdocs/ilg/phpBB2/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database


Do you have a test account for us: Sorry no.
Newkirk
Registered User
Posts: 142
Joined: Tue Apr 12, 2005 1:33 am
Location: Kansas City, Missouri
Contact:

Post by Newkirk »

Warning: mysql_connect(): Unknown MySQL Server Host 'db286.perfora.net' (2) in /homepages/30/d101717289/htdocs/ilg/phpBB2/db/mysql4.php on line 48


That might help you.
I am available on AIM and MSN for support.
Please do not ask me until you have use the Knowledge Base and you have searched using the proper format.
Click here to download the internet!
User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29299
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Post by Marshalrusty »

If you really haven't changed anything in a while, you'll want to contact your host (1and1)
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs
espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom »

The host name db286.perfora.net does not resolve, which is what PHP is complaining about. If you didn't change anything, obviously 1&1 did. They'll have to give you the new MySQL server address (name or IP), and you'll have to edit your config.php file to reflect the change.
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer
sacluded
Registered User
Posts: 2
Joined: Fri Mar 31, 2006 2:04 am

Post by sacluded »

I have a support ticket in with them right now to find out about that.

Thanks for the input.
Locked

Return to “2.0.x Support Forum”