I moved a qmail based server from one machine to another and somehow, im getting this message:
Preference database error (connect failed). Exiting abnormally
I've been going around all the archives in google and i've been reading all kinds of stuff, from database permissions, to using mysql 4.1 client programs not being compatible with < PHP5. I tried using the old password function in mysql and nothing hapend.
I log into the squirrelmail's mysql account and it work perfectly, even after using the old password function in mysql, also, php's connection to mysql is working because I have some other applications that use this interface to function
Here's my configtest.php
==================
SquirrelMail version: | 1.4.4 |
Config file version: | 1.4.0 |
Config file last modified: | 06 June 2005 00:52:07 |
PHP version 4.3.11 OK.
PHP extensions OK.
Checking paths...
Data dir OK.
Attachment dir OK.
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: https://tokyo.kanux.com/webmail/src
Checking outgoing mail service....
SMTP server OK (220 atenea.macpcstation.com ESMTP)
Checking IMAP service....
IMAP server ready (* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.)
Capabilities: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
Checking internationalization (i18n) settings...
gettext - Gettext functions are unavailable. SquirrelMail will use slower internal gettext functions.
mbstring - Mbstring functions are unavailable. Japanese translation won't work.
recode - Recode functions are unavailable.
iconv - Iconv functions are unavailable.
timezone - Webmail users can change their time zone settings.
Checking database functions...
PHP Pear DB support is present.
mysql database support present.
ERROR: Database error: connect failed in preferences DSN.
==================What's even more strange is that, I'm able to see the preferences table using the same db user in another db application
Any Ideas?? thanks a lot for your time
Vlad