Roundcube error: DATABASE ERROR: CONNECTION FAILED!

The following is if you're using customapache. If you're using custombuild, see below.

If you cannot login to roundcube because you get this error:

DATABASE ERROR: CONNECTION FAILED!

Then do the following:

Type:

cat /usr/local/directamin/conf/mysql.conf

to get the login/password for mysql.

Type:

mysql -uda_admin -ppassword

where da_admin/password are the login/pass output from the mysql.conf.

Once in mysql, type:

DROP DATABASE da_roundcube;

quit once the db is dropped and you're out of mysql, type:

cd /usr/local/directadmin/scripts
./roundcube.sh

to recreate the database and user/pass for roundcube.

The following is the fix if you're using custombuild:

cd /usr/local/directadmin/custombuild
./build roundcube
 
scripts/roundcube.txt · Last modified: 2010/04/29 09:14 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki