installation - unable to connect to my database!

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
innodonni
Forum Newbie
Posts: 3
Joined: Thu Nov 14, 2002 10:57 am
Location: Crawley, England

installation - unable to connect to my database!

Post by innodonni »

Does anybody know exactly how to install phpBB2 and tell it how to use a MySQL database?
It came up with a "Welcome to phpBB 2 Installation" screen and I entered:

Default board language: English
//this was default, and the only one available anyway
Database Type: MySQL 4.x
//I think this is correct, but it might be MySQL 3.x
Choose your installation method: install
//instead of update
Database Server Hostname / DSN: coolfreepages.com
//I also tried redwall.iwebland.com, my free subdomain name
Your Database Name: DB_nac2420
Database Username: nac2420
Database Password: <value optimised out>
// unless I'm a chimpanzee, these three are correct.
Prefix for tables in database: phpbb_
//this was default - I wouldn't argue
Admin Email Address: innodonni@myrealbox.com
Domain Name: redwall.iwebland.com
// ^- these two don't matter do they?
Server Port: 80
//should I use 21?
Script path: /phpBB2/
// || this is
// \/ irrelevant
Administrator Username: innodonni
Administrator Password: <value optimised out>
Administrator Password [ Confirm ]: <value optimised out>


Please, does anyone know how to install it without getting this warning:
:?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?:

Warning: Access denied for user: 'nac2420@66.250.74.79' (Using password: YES) in /users/iwebland.com/innodonni/phpBB2/db/mysql4.php on line 48

Warning: MySQL Connection Failed: Access denied for user: 'nac2420@66.250.74.79' (Using password: YES) in /users/iwebland.com/innodonni/phpBB2/db/mysql4.php on line 48
phpBB : Critical Error

Could not connect to the database
Last edited by innodonni on Thu Sep 07, 2006 9:05 pm, edited 2 times in total.
EvilCrackMonkey
Forum Newbie
Posts: 3
Joined: Sun Dec 15, 2002 5:31 am

Post by EvilCrackMonkey »

that happend me when i did not let mysql out trou the firewall....


so it might be something bloking it...
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Try "localhost" (without quotes) for your database server.
Image Image
Post Reply