Roundcube Community Forum

Release Support => Pending Issues => Topic started by: zassadgh on July 22, 2008, 08:07:33 AM

Title: DSN (write): NOT OK(MDB2 Error: connect failed)
Post by: zassadgh on July 22, 2008, 08:07:33 AM
files
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
Backend: PEAR::MDB2
DSN (write):  NOT OK(MDB2 Error: connect failed)
Make sure that the configured database exists and that the user has write privileges
DSN: mysql://scoutzkn_mail:12345678@localhost/scoutzkn_mail

There are known problems with MDB2 running on PHP 4. Try setting db_backend to 'db' instead

Test SMTP settings
Server: mail.scoutzknivez.org
Port: 25
User: [email protected]
Password: 12345678



Sender  
Recipient  



Test IMAP configuration
Server  mail.scoutzknivez.org  
Port 143
Username  
Password  




--------------------------------------------------------------------------------

After completing the installation and the final tests please remove the whole installer folder from the document root of the webserver.

These files may expose sensitive configuration data like server passwords and encryption keys to the public. Make sure you cannot access this installer from your browser.



what shall I do! ?
Title: DSN (write): NOT OK(MDB2 Error: connect failed)
Post by: yourregistrationisbroken on August 19, 2008, 02:35:51 PM
I got this error when I didn't have the SQL database created already.


"Make sure that the configured database exists and that the user has write privileges"


mysql -u scoutzkn_mail -p12345678
 > create database scoutzkn_mail;
 > quit

or use your favorite SQL GUI tool.  If it still doesn't work, post back here.
Title: DSN (write): NOT OK(MDB2 Error: connect failed)
Post by: zapster on August 20, 2008, 12:23:53 PM
Hello,

I encountered the same problem some time ago. The problem was I used a MySQL password with the @-symbol. The database connection setting for MDB2 are stored in a syntax similar to this: phptype://username:password@hostspec/databaseA password with an @-symbol would break this convention.

I think this is a bug in the RoundCube installer because the user is not notified that the password is illegal and that it was not written into the config file.

Changing the password to a string without the @-symbol solved that issue on my side.

I am afraid that this is no solution zassadgh's problem but maybe it is helpful for anybody.


BR,
zap
Title: Corecct
Post by: vartanjean on September 17, 2008, 09:17:16 AM
On terminal pear install MDB2_Driver_mysql
Title: DSN (write): NOT OK(MDB2 Error: connect failed)
Post by: makaveli on November 21, 2008, 04:30:43 PM
Quote from: vartanjean;13939On terminal pear install MDB2_Driver_mysql

How to install this driver? Should I ask my provider's administration to do this, because I have no access to administrate.

Check supplied DB settings
DB settings: NOT OK


The same problem. I don't know what to do.
Title: DSN (write): NOT OK(MDB2 Error: connect failed)
Post by: MarkusK1977 on January 06, 2009, 07:03:15 AM
The same here. Any solution to share ?

I had 0.1 running and wanted an update to 0.2 stable. I used my config files, so the Password and Username for DB Action must be right.

Why isn't it working ?

MySQL 5 & PHP5 ... shared hosting. Should my Provider update or install anything ?
Title: DSN (write): NOT OK(MDB2 Error: connect failed)
Post by: MarkusK1977 on January 06, 2009, 01:10:32 PM
Ok it works now ...
My Hoster installed MDB2-driver Package
Title: DSN (write): NOT OK(SQLSTATE[HY000] [1045] Access denied
Post by: rcartists on August 02, 2023, 06:13:32 AM
Hi, Sir,

DSN (write):  NOT OK (SQLSTATE[HY000] [1045] Access denied for user 'roundcube'@'localhost' (using password: YES))

roundcubemail-1.6.2-complete.tar for not installing the error problem.

Please I need Your help.

I am disabled and can't speak  :-[ :-[

Reply msg