Roundcube Community Forum

 

cant install MDB2 problem

Started by molahs, January 23, 2009, 05:38:05 PM

Previous topic - Next topic

molahs

Hi,
I have a fresh install on windows 2003 server running Wamp 2.0f

when installation goes to Test config i get

main.inc.php:  OK
db.inc.php:  OK

Check if directories are writable

RoundCube may need to write/save files into these directories

temp/:  OK
logs/:  OK

Check configured database settings

DSN (write):  NOT OK(MDB2 Error: connect failed)
Make sure that the configured database exists and that the user has write privileges
DSN: mysql://roundcube:12345678@localhost/roundcubemail

I can log into the mysql db (roundcubemail) using phpmyadmin and create tables and populate with data.

MySQL version: 5.1.30-Community-log
PHP Version: 5.2.8
Apache Version 2.2.11 (Win32)

mdb2_driver_mysql is installed as can be seen from:

C:\wamp\bin\php\php5.2.8>pear install MDB2_Driver_mysql
Ignoring installed package pear/MDB2_Driver_mysql
Nothing to install

What else am i missing here?
Thanks in advance

CLARIFICATION: The issue seems to be with the MDB2 driver as I get the same error with a user that has full privileges on the MySQL installation.

molahs

Some more info which i have found out, that may indicate a bug?

I tried to browse to the webmail page (not installer), and got the expected database error, BUT the log file under logs provided with some insight

[23-Jan-2009 18:19:51 -0500] DB Error: _doConnect: [Error message: Access denied for user 'SYSTEM'@'localhost' (using password: NO)]
[Native code: 1045]
[Native message: Access denied for user 'SYSTEM'@'localhost' (using password: NO)]
 ** mysql(mysql)://roundcube:[email protected]/roundcubemail in C:\wamp\apps\roundcube0.2\program\include\rcube_mdb2.php on line 100 (GET /webmail/)


Why would the error report Access denied for user 'SYSTEM'@'localhost' where my user name is not SYSTEM!
I even changed the string from localhost to 127.0.0.1 as can be evident from the ** line above. yet the error still show SYSTEM@localhost. My account certainly has a password, but the error shows using password: NO.

Any feedback?

Thx.

rosali

Maybe you think about to switch to XAMPP instead of using the WAMP bundle. I never experienced such kind of problems with XAMPP. The change should not be too hard.
Regards,
Rosali

molahs

Thank you rosali.
I actually changed from xampp to wamp since i was having problems hardening xampp.
Anyone has any idea on why MDB2 says [email protected]?