»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 09-07-2003, 09:15 PM   #1 (permalink)
Registered User
 
cracked's Avatar
 
Join Date: Nov 2001
Location: NCSU @ Raleigh, NC
Posts: 1,390
cracked is on a distinguished road
Send a message via AIM to cracked
mysql problem and phpbb2 :(

hey guys. i had another thread about trying to set up a message board but i decided to start a new one bc i got everything figured out on that, i just have one small problem.

i have apache installed and workin. i have php installed and working. i have mysql installed and working(i think). BUT when i try to run the setup page for phpbb2, i fill in the info and hit the submit button, and it says "critical error, cannot connect to database"

i have made a database called "forum" with the mysql admin program. this is the database i am trying to use with phpbb2. i cant seem to figur out what the problem is. i had posted this in the phpbb2 support forums but that was useless as only one person replied and they were of little help. i figure you guys can get me up and running in no time

thanks!

drew

__________________
Duroo
cracked is offline   Reply With Quote
Old 09-08-2003, 09:12 PM   #2 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
qball is on a distinguished road
Quote:
i have apache installed and workin. i have php installed and working. i have mysql installed and working(i think).
The "i think" bothers me, find out. If you have webserver and PHP working, just create simple PHP file to connect to ANY DB you create in MySQL.

Code:
$link = mysql_connect("?webserver?")
or die("Could not connect");
mysql_select_db("?DB?")
or die("Could not select database");
Determine if PHP can see MySQL.

Quote:
critical error, cannot connect to database
I guess that would be critical...

Quote:
when i try to run the setup page for phpbb2
I'm guessing the setup page would be *.php, so open that file and find where it connects to DB, and find out what DB it is, trying to connect to, or edit file to spit out info before code that fails to connect to DB. see above code snippet.

Seems you have:

config of PHP,MySQL,Apache,phpbb2

debug the setup files for phpbb2 to find cause of error msg.
qball is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 10:51 PM.