[solved] Critical Error - Could not connect to the 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
TerminatorT2002
Registered User
Posts: 5
Joined: Thu May 23, 2002 1:50 am

[solved] Critical Error - Could not connect to the database

Post by TerminatorT2002 »

I would like to bring a board on my own Apache 1.3.20 Server online! But I have a problem!
When I fill out all fields and click on "START INSTALL", this error message is coming:" phpBB : Critical Error Could not connect to the database"!
Whats the problem?

Is my configuration wrong?
This is my configuration:

Database Server Hostname/DSN: http://sweetteens.servepics.com/
Your Database Name: Crazy Ivan's Board
Database Username: Commanderdata
Database Password: ******
Prefix for tables in database: phpbb_

Admin Configuration

Admin Email Address: MyEmail@domain.com
Domain Name: sweetteens.servepics.com
Server Port: 80
Script path: /php4/php.exe/phpBB2/
Administrator Username: Commanderdata
Administrator Password: ******
Administrator Password [ Confirm ]: ******

I hope somebody can help me!
It's very important!!!

TerminatorT2002
User avatar
primedomain
Former Team Member
Posts: 25944
Joined: Sat Dec 15, 2001 10:23 am

Re: Critical Error - Could not connect to the database

Post by primedomain »

TerminatorT2002 wrote: Database Server Hostname/DSN: http://sweetteens.servepics.com/
Your Database Name: Crazy Ivan's Board
Have you tried localhost for the database hostname? Database name is possibly correct (depends what you have set up), but it looks "strange". It's usually rather sth like database34345.
TerminatorT2002
Registered User
Posts: 5
Joined: Thu May 23, 2002 1:50 am

Post by TerminatorT2002 »

Yes I tried "localhost" in Database Server Hostname!
It comes the same error message!
You can try it on: http://sweetteens.servepics.com/phpBB2/
Kage Musha
Registered User
Posts: 444
Joined: Sun Dec 23, 2001 10:03 pm
Location: Someone's Heart
Contact:

Post by Kage Musha »

Are you sure You have the right Database name? You made that Database?
https://www.rpggarden.com Development: Battle Mod
Released: PS2 Theme
Image Search b4 asking (less work for us :lol: )
Plz do not abuse my IM mediums or I'll have to block ya :evil:
tomtacks
Registered User
Posts: 5
Joined: Thu May 23, 2002 11:05 am

Post by tomtacks »

This is my configuration:

Database Server Hostname/DSN: localhost
Your Database Name: databasename
Database Username: username
Database Password: (no password)
Prefix for tables in database: phpbb_

Admin Configuration

Admin Email Address: MyEmail@domain.com
Domain Name: real.domain.com
Server Port: 80
Script path: /phpBB2/
Administrator Username: username
Administrator Password: ******
Administrator Password [ Confirm ]: ******


i did not encounter any problems...
tomtacks
Registered User
Posts: 5
Joined: Thu May 23, 2002 11:05 am

Post by tomtacks »

Kage Musha wrote: Are you sure You have the right Database name? You made that Database?


kage is right...

TerminatorT2002, i guess you should add the database first in your mysql.
TerminatorT2002
Registered User
Posts: 5
Joined: Thu May 23, 2002 1:50 am

Post by TerminatorT2002 »

Ok and how can I add the database in my MySQL?
DarkunderdoG
Registered User
Posts: 15
Joined: Sat May 18, 2002 4:24 pm

MYSQL

Post by DarkunderdoG »

Read the FAQ for both Create Database and Grant on www.mysql.com :!: :!: :!:
Stefan Koopmanschap
Former Team Member
Posts: 7388
Joined: Sun Oct 28, 2001 9:47 am
Location: Woudenberg, Netherlands
Contact:

Re: MYSQL

Post by Stefan Koopmanschap »

DarkunderdoG wrote: Read the FAQ for both Create Database and Grant on www.mysql.com :!: :!: :!:


keep in mind that you need to have the right to create databases to perform this action. if you don't have that right to the server, ask the server administrator for a database
TerminatorT2002
Registered User
Posts: 5
Joined: Thu May 23, 2002 1:50 am

Post by TerminatorT2002 »

I am the administrator!!!! It's my own Server! And I have all rights!
DarkunderdoG
Registered User
Posts: 15
Joined: Sat May 18, 2002 4:24 pm

Enjoy!

Post by DarkunderdoG »

Well then have fun! =P

By the way. Its a nice touch a phpbb community on your porn site!!! Interesting!
TerminatorT2002
Registered User
Posts: 5
Joined: Thu May 23, 2002 1:50 am

Post by TerminatorT2002 »

Ok MySQL and a Database has been created! I think, it works now!
Locked

Return to “2.0.x Support Forum”