I am getting
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

Login to mySQL database is successful using command prompt with the same username/password I use in db.inc.php
This is my db.inc.php (password removed):

Code:
<?php
$rcmail_config 
= array();
$rcmail_config['db_dsnw'] = 'mysql://ytbmailc_ytbmail:mypassword@localhost/ytbmailc_roundcubemail';
$rcmail_config['db_dsnr'] = '';
$rcmail_config['db_backend'] = 'db';
$rcmail_config['db_max_length'] = 512000;  // 500K
$rcmail_config['db_persistent'] = TRUE;
$rcmail_config['db_table_users'] = 'users';
$rcmail_config['db_table_identities'] = 'identities';
$rcmail_config['db_table_contacts'] = 'contacts';
$rcmail_config['db_table_session'] = 'session';
$rcmail_config['db_table_cache'] = 'cache';
$rcmail_config['db_table_messages'] = 'messages';
$rcmail_config['db_sequence_identities'] = 'identity_ids';
$rcmail_config['db_sequence_contacts'] = 'contact_ids';
$rcmail_config['db_sequence_cache'] = 'cache_ids';
$rcmail_config['db_sequence_messages'] = 'message_ids';

// end db config file
?>

I'm stumped at this point. Can anyone help?


No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.