ERROR: Invalid query: MDB2 Error: connect failed

ERROR: Invalid query: MDB2 Error: connect failed

am 27.05.2011 12:24:00 von kibirango moses

Hullo users,

I am using sqwebmail access my mails. I want to transfer to
squirrelmail .After installation of squirrelmail with postfixadmin I
can still access my mails using squirrelmail but I am having problems
with :
1. Change password (Changing your mailbox password)
Error:
ERROR: Invalid query: MDB2 Error: connect failed
connect: [Error message: Can't connect to local MySQL server through
socket '--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)]
[Native code: 2002] [Native message: Can't connect to local MySQL
server through socket
'--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)] - connect:
[Error message: Can't connect to local MySQL server through socket
'--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)] [Native code:
2002] [Native message: Can't connect to local MySQL server through
socket '--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)] - SQL
: SELECT * FROM mailbox WHERE username=?

2. Forwarding (Creating email forwards)
Error:
ERROR: Invalid query: MDB2 Error: connect failed
connect: [Error message: Can't connect to local MySQL server through
socket '--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)]
[Native code: 2002] [Native message: Can't connect to local MySQL
server through socket
'--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)] - connect:
[Error message: Can't connect to local MySQL server through socket
'--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)] [Native code:
2002] [Native message: Can't connect to local MySQL server through
socket '--with-unix-socket-path=/var/run/mysql/mysql.sock' (2)] - SQL
: SELECT * FROM mailbox WHERE username=?

3. Change password (change your email password)
Error:
Could not find pear DB library. (I had installed MDB2 as the DB
package is superseded http://pear.php.net/package/DB/redirected)


root@mailbackup:/data1/popmail# pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.7 stable
Console_Getopt 1.3.0 stable
MDB2 2.4.1 stable
MDB2_Driver_mysql 1.4.1 stable
PEAR 1.9.2 stable
Structures_Graph 1.0.4 stable
XML_Util 1.2.1 stable

How can I fix the above problems with my mysql Database (mysql Ver
14.14 Distrib 5.1.53)

Thanx in advance

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php