PhPbb: Critical Error Could not connect to database

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
PhantomKnight
Registered User
Posts: 24
Joined: Mon Sep 11, 2006 11:59 am

PhPbb: Critical Error Could not connect to database

Post by PhantomKnight » Wed Sep 13, 2006 5:58 pm

Whats Wrong i whent to http://<your domain>/phpbb2/install/install.php. did every thing right and it said

PhPbb: Critical Error Could not connect to database

cybrid23
Former Team Member
Posts: 9877
Joined: Wed Jun 29, 2005 5:55 am
Location: Somewhere in the Midwest...
Contact:

Post by cybrid23 » Wed Sep 13, 2006 6:00 pm

Is the database created?

Have you entered in the correct info?

Make sure of CaSe...It is all CaSe SeNsItIve

If you are unsure of you database details, contact your host
---Never leave home without a towel and your peril sensitive sunglasses.
---Do Not PM Me For Support. It will go unanswered.
Thanks.

Nekaid
Registered User
Posts: 91
Joined: Wed Jun 01, 2005 2:07 am
Location: United States - Summerville, South Carolina
Contact:

Post by Nekaid » Wed Sep 13, 2006 6:01 pm

Are you sure you entered teh database etails in exactly as is? Please review what you type in the fields and try again. If you still cannot connect, and you are 100% sure that you entered the correct info, please make sure your database allows connections. Please check to see if localhost or 192.168.2.* is present in the allowed connections.

PhantomKnight
Registered User
Posts: 24
Joined: Mon Sep 11, 2006 11:59 am

i think so

Post by PhantomKnight » Wed Sep 13, 2006 6:08 pm

ya i think everything is right

do any of u know how to make a forum using my sql,apache friends,navicat and phpbb2?

Nekaid
Registered User
Posts: 91
Joined: Wed Jun 01, 2005 2:07 am
Location: United States - Summerville, South Carolina
Contact:

Post by Nekaid » Wed Sep 13, 2006 6:20 pm

Um...no. Please start a new topic if your looking for that kind of help.

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom » Wed Sep 13, 2006 6:43 pm

Your MySQL server must be running.
You must have a valid username/password for that server.
The database must already exist.
The username/password must have privileges to operate in that database, including the CREATE, DROP, ALTER, SELECT, INSERT, DELETE privileges.

If any of those are not correct, you will get the "can not connect" error message.

Try running contrib/dbinformer.php instead of install/install.php, and see where your connect chain is broken.
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

Locked

Return to “2.0.x Support Forum”