roundcube might need php-mdb2-driver-mysql

Bug #660028 reported by Daryl Lublink
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
roundcube (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: roundcube

I installed roundcube :

apt-get install roundcube

Bug 1 :

What I did :
During the install process it asked me the database type, I chose MySQL.

What happened :
The config tool assumed mysql was on the same machine and tried to connect through a local unix socket

What should have happened :
The config tool should ask if the server is local or not.

Suggest 1 :
When the config tool automatically setup the roundcube account, it used the hostname and domain name in the grant request. It should have asked me to confirm if the server address ( 'myserver.domain.tld' ) was ok

Bug 2 :
Once installed, the software was stuck on "DATABASE ERROR: CONNECTION FAILED." Error 603 in errors.inc

Solution :

I installed During the install process it asked me the database type, I installed php-mdb2-driver-mysql. Once php-mdb2-driver-mysql was installed, the software worked properly.

Note :
 I had to restart apache after I installed the package, I don't know if this is a bug in the package or a result of the above difficulties, please check the install process.

Revision history for this message
Karl White (ubuntu-karlwhite) wrote :

Just came to report the same bug, and found this one, so I can confirm this one.

Installed roundcube (sudo apt-get install roundcube), and I received the same error ("DATABASE ERROR: CONNECTION FAILED.").

Installing php-mdb2-driver-mysql fixed this immediately (sudo apt-get install php-mdb2-driver-mysql).

Changed in roundcube (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Deragon (deragon) wrote :

I confirm that the dependency to php-mdb2-driver-mysql is missing and that Karl White solution (sudo apt-get install php-mdb2-driver-mysql) fix the problem.

Revision history for this message
Hans Deragon (deragon) wrote :

Found the following comment at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544694

-->
You installed roundcube which, by default, pulls roundcube-sqlite which installs everything needed to use sqlite with roundcube. If you want to use MySQL instead, install roundcube-mysql.
<--

Thus, one needs to know what package to install. A better solution is when configuring roundcube, if mysql is selected, then the php-mdb2-driver-mysql package gets installed by the configuration script. I have not figured out that it is "roundcube-mysql" and not "roundcube" I should have installed, and probably other users make the same mistake too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.