I have gotten this error for the 3rd time. I have installed a new version of post nuke on the new server. I have uploaded our old mysql file to the new server and renamed the config.php file to have the old username and password. I have an error message of problem in connection database. I don't understand what i did wrong.
Help please.
this is what I have so far
$pnconfig['dbtype'] = 'mysql';
$pnconfig['dbtabletype'] = 'myisam';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = added user name here==';
$pnconfig['dbpass'] = 'put right password here=';
$pnconfig['dbname'] = 'put old DB name here';
$pnconfig['system'] = '0';
$pnconfig['prefix'] = 'nuke';
$pnconfig['encoded'] = '0';
Shawnee
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
Database connection error
-
-
-
Make 200% sure that your user name, database host and password are set right. That error usually means that you have the wrong host, user name, dbname or password.
-
I did back up the config.php before the upgrade. Should I change it where it says localhost? I am copying the user name from the old site which we used the SQL files from and the user name and password from that site as well.
Is that correct or would I use the new ones?
Thank you for your help,
Shawnee -
Your new database may, and probably does, have a different user name, password and database name.
-
