MyBB Community Forums

Full Version: MySQL Error Message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey! I'm transferring my forum from one hosting site to another and I have an SQL error message.

This is the error message:
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1045 - Access denied for user 'fees0_13653490'@'192.168.0.55' (using password: YES)
Query:
[READ] Unable to connect to MySQL server

This is the snipet from my config.php file:
$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'fees0_13653490_forum';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'sql310.0fees.net';
$config['database']['username'] = 'fees0_13653490';
$config['database']['password'] = '******';

Any ideas?

All help given is much appreciated!
Thanks! ;D!
You seem to be using the incorrect password. Contact your host to verify your password for your database.
The password is the same as the cpanel password. I know I have the password correct.

Error:
$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'fees0_13653490_forum';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'sql310.byetcluster.com';
$config['database']['username'] = 'fees0_13653490';
$config['database']['password'] = '******';

This is the information for the MySQL sever:
MySQL user name:    fees0_13653490
MySQL password:   Same as your cpanel password
MySQL host name:   sql310.byetcluster.com
MySQL port: 3306

fees0_13653490_forum is also the only database I currently have.
Are you sure your cPanel password is same with user database password?
Yes, it says on the cPanel "Same as your cpanel password"

---EDIT---
It must be something with the password because I changed the password to see if the error message would change and it didn't.

---EDIT 2---
Problem resolved.
in some scripts use this code to connect to database!
mysql_connect("localhost","user","pass word") or die(mysql_error());
mysql_select_db("database name") or die(mysql_error());
Thanks! ;D!