phpbb not conect sql [moved]

cdms

Registered
Feb 18, 2007
4
0
151
Current Databases:
Code:
connection Strings
Perl	$dbh = DBI->connect("DBI:mysql:cdms_phpbb:localhost","cdms_cdms","<PASSWORD HERE>");
PHP	$dbh=mysql_connect ("localhost", "cdms_cdms", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("cdms_phpbb");

my config.php
Code:
<?php

$dbms = 'mysql';

$dbhost = 'localhost';
$dbname = 'cdms_phpbb';
$dbuser = 'cdms_cdms';
$dbpasswd = 'XXXXXX';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?>
error message
Code:
phpBB : Critical Error

Could not connect to the database

General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.6.9-42.ELsmp
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version
MySQL version 4.1.21-standard
cPanel Build 10.9.0-STABLE 119
Theme cPanel X v2.6.0
Documentation Click to View
cPanel Pro 1.0 (RC36)

HELP ME
 

inalto

Member
Mar 27, 2004
22
0
151
Hello,

Seems you have create the user and the database but you not added the user to the database.
You have to add the user to the database with all necessary privileges.
 

cdms

Registered
Feb 18, 2007
4
0
151
hi,

cdms_cdms (Privileges: ALL PRIVILEGES)

probblema is more serious than this

HELP ME
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
Did you verify connecting any other php application to mysql and see if that works. Or the issue is with phpbb only?
 

cdms

Registered
Feb 18, 2007
4
0
151
no connection of php to sql is accepted
I installed phpchat for cpanel and exactly thus error occurs
connection for mysql is only accepted

sorry my bad english
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
Can you try a apache recomplie using the easyapache script.

Anyway we might have to check the logs to see where exactly the issue is.