Author Topic: DSN (write): NOT OK(MDB2 Error: connect failed)  (Read 17000 times)

Offline zassadgh

  • Newbie
  • *
  • Posts: 6
DSN (write): NOT OK(MDB2 Error: connect failed)
« 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: Mstr@scoutzknivez.org
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! ?

Offline yourregistrationisbroken

  • Jr. Member
  • **
  • Posts: 10
DSN (write): NOT OK(MDB2 Error: connect failed)
« Reply #1 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.

Offline zapster

  • Newbie
  • *
  • Posts: 1
DSN (write): NOT OK(MDB2 Error: connect failed)
« Reply #2 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:
Code: [Select]
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
« Last Edit: August 20, 2008, 12:32:05 PM by zapster »

Offline vartanjean

  • Newbie
  • *
  • Posts: 2
Corecct
« Reply #3 on: September 17, 2008, 09:17:16 AM »
On terminal pear install MDB2_Driver_mysql

Offline makaveli

  • Newbie
  • *
  • Posts: 1
DSN (write): NOT OK(MDB2 Error: connect failed)
« Reply #4 on: November 21, 2008, 04:30:43 PM »
Quote from: vartanjean;13939
On 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.
« Last Edit: November 21, 2008, 04:34:09 PM by makaveli »

Offline MarkusK1977

  • Newbie
  • *
  • Posts: 2
DSN (write): NOT OK(MDB2 Error: connect failed)
« Reply #5 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 ?
« Last Edit: January 06, 2009, 07:55:00 AM by MarkusK1977 »

Offline MarkusK1977

  • Newbie
  • *
  • Posts: 2
DSN (write): NOT OK(MDB2 Error: connect failed)
« Reply #6 on: January 06, 2009, 01:10:32 PM »
Ok it works now ...
My Hoster installed MDB2-driver Package

Offline rcartists

  • Newbie
  • *
  • Posts: 1
DSN (write): NOT OK(SQLSTATE[HY000] [1045] Access denied
« Reply #7 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