Thread:Project:Support desk/WIKI 1.17 failed to connect to localhost database

I have been trying to upgrade our existing Wiki application from the following configuration: OS: RHAT 4 Apache: 2.0.52 MediaWiki: 1.12.0 PHP: 5.25 Database: MySQL 4.1.12

to the new configuration below:

OS: RHAT 5 Apache: 2.2.15 MediaWiki: 1.17.0 PHP: 5.3.3 Database: MySQL 5.1.52 Steps have been taken: 1. Made a full backup of the old Wiki database (i.e. mysqldump --all-databases > wikidb.txt 2. Made a tarball of the entired Wiki directory (i.e. WikiBackUp.tar), including LocalSettings.php, maintenance, skins, extensions and all other Wiki directories. 3. Imported the database backup on the new Wiki server. I did check on the status of mysql, was able to connect to mysql as root (i.e. mysql -u root -p) and noticed that the wiki database (i.e. imagidoc)were imported successfully. 4. Moved and untar the WikiBackup.tar on the new Wiki server 5. Checked the Wiki site, get the "Content Encoding Error" page, looked at the log and notice the following error in the log: GET / HTTP HEADERS: Host: wiki01.imagitas.com Connection: keep-alive Cache-Control: max-age=0 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

CACHED: FakeMemCachedClient[main] SqlBagOStuff[message] SqlBagOStuff[parser] Unstubbing $wgMessageCache on call of $wgMessageCache::addMessages from wfExtensionAWCMultiFileUploader Use of MessageCache::addMessages is deprecated. [Called from call_user_func_array in (internal function)] LocalisationCache: using store LCStore_DB Use of SpecialPage::addPage is deprecated. [Called from wfExtensionAWCMultiFileUploader in /var/www/html/extensions/awc/multi_file_uploader/main.php at line 7] Fully initialised Unstubbing $wgContLang on call of $wgContLang::getCode from MessageCache::get Connecting to localhost imagidoc... Connection failed to localhost imagidoc. Failed to connect to database 0 at localhost I have checked the LocalSettings.php and AdminSetting.php (see below), everything seems to be just fine but I dont understand why Wiki could not connect to MySQL. Please let me know if I missed any steps along the way. Many thanks for your help.

LocalSettings.php: -- $wgDBserver        = "localhost"; $wgDBname          = "imagidoc"; $wgDBuser          = "root"; $wgDBpassword      = "password"; $wgDBprefix        = ""; $wgDBtype          = "mysql";

AdminSetting.php - $wgDBadminuser     = 'root'; $wgDBadminpassword = 'password';