phpBB

phpBB

Posted by: Vespertinum
Posted on: 2006-04-12 14:21:00

I'm having trouble installing my phpBB board for some reason. I keep on getting this error. Anyone have any idea what's wrong besides that fact that it's my SQL database? Any suggestions as to what to do? Thanks.

Warning: mysql_connect(): Unknown MySQL server host 'nocturnaldata' (1) in /home/.demo/nocrev/forum.nocturnalreverie.com/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/.demo/nocrev/forum.nocturnalreverie.com/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/.demo/nocrev/forum.nocturnalreverie.com/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

Re: phpBB

Posted by: norm1037
Posted on: 2006-04-12 14:31:00

If you have just set up the database hostname it may not have propagated yet. Try browsing to the hostname you have created and see if you can login to PHPMyAdmin.


Re: phpBB

Posted by: Vespertinum
Posted on: 2006-04-12 14:48:00

Er.. okay. I can log into PHPMyAdmin. @.@

Re: phpBB

Posted by: norm1037
Posted on: 2006-04-12 15:03:00

In config.php check if the mysql details are correct, in particular the hostname is entered in full.

Like this but with your details...

<?php

//
// phpBB 2.x auto-generated config file
// Do not change anything in this file!
//

$dbms = 'mysql';

$dbhost = 'hostname.example.com';
$dbname = 'databasename';
$dbuser = 'mysqldbusername';
$dbpasswd = '1234567';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?>


(Table prefix may differ)

Re: phpBB

Posted by: Vespertinum
Posted on: 2006-04-12 16:01:00

Ah, good, that help. :) Thank your so much for you help!! It's much apreciated. I can't believe I didn't catch it. o.O;;

Edited by Vespertinum on 04/12/06 04:04 PM (server time).

Tags: mysql errormysql servervalid mysql link resourcephpbbdemophpsql databaseserver hostreasonidea