Page 1 of 2

Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Thu May 22, 2014 3:54 pm
by kudouyuzi
Newly installed control panel
Roundcube: DATABASE ERROR: CONNECTION FAILED!
http://awesomescreenshot.com/06d2u8kk36

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Thu May 29, 2014 7:11 pm
by stevetoza
Hello,

Im sure I had this issue, Log into phpmyadmin check that the roundcube database has all the tables in the database.

When I checked it didnt have them, I ran the roundcube script manually that creates the correct tables.


Steve

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Fri May 30, 2014 4:00 am
by kudouyuzi
stevetoza wrote:Hello,

Im sure I had this issue, Log into phpmyadmin check that the roundcube database has all the tables in the database.

When I checked it didnt have them, I ran the roundcube script manually that creates the correct tables.


Steve
Which databases can be found?

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Fri May 30, 2014 9:03 am
by stevetoza
If you log in as root into mysql pretty sure the db name is roundcube or roundcubedb

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Fri May 30, 2014 9:10 am
by kudouyuzi
stevetoza wrote:If you log in as root into mysql pretty sure the db name is roundcube or roundcubedb
username? password?

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Fri May 30, 2014 7:23 pm
by stevetoza
These would be the main mysql root username and password. They would have been set when mysql was installed.

You may be able to find the password in /root/.my.cnf

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Sat May 31, 2014 4:36 am
by kudouyuzi
stevetoza wrote:These would be the main mysql root username and password. They would have been set when mysql was installed.

You may be able to find the password in /root/.my.cnf
how can i update Roundcube

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Sat May 31, 2014 4:42 am
by kudouyuzi
stevetoza wrote:These would be the main mysql root username and password. They would have been set when mysql was installed.

You may be able to find the password in /root/.my.cnf
what is Roundcube mysql name

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Sat May 31, 2014 3:31 pm
by Youp
kudouyuzi wrote:
stevetoza wrote:These would be the main mysql root username and password. They would have been set when mysql was installed.

You may be able to find the password in /root/.my.cnf
what is Roundcube mysql name
Hi,

You can find it in :

Code: Select all

/ect/roundcube/db.inc.php
Check the line :

Code: Select all

$rcmail_config['db_dnsw'] = 'mysql://roundcube:**********@localhost/roundcube';
You can see that roundcube mysql name is ... : roundcube

Re: Roundcube: DATABASE ERROR: CONNECTION FAILED!

Posted: Sat May 31, 2014 4:04 pm
by kudouyuzi
Youp wrote:
kudouyuzi wrote:
stevetoza wrote:These would be the main mysql root username and password. They would have been set when mysql was installed.

You may be able to find the password in /root/.my.cnf
what is Roundcube mysql name
Hi,

You can find it in :

Code: Select all

/ect/roundcube/db.inc.php
Check the line :

Code: Select all

$rcmail_config['db_dnsw'] = 'mysql://roundcube:**********@localhost/roundcube';
You can see that roundcube mysql name is ... : roundcube
this db?
http://awesomescreenshot.com/0692wh1y71

What do I need to import the database file?