New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to fix database error for roundcube on centos?
johnneilson
Member
in Help
I successfully installed roundcube on centos 8 but i am shown an error message with "database error: connection failed". Help me fix this.
Comments
Here are the steps
1 cat /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php |grep mysql:
$config['db_dsnw'] = 'mysql://roundcube:lasmubmx08d3hktr@unix(/var/lib/mysql/mysql.sock)/roundcube';
2 mysql -u roundcube -p
3 show tables;
4 /var/cpanel/roundcube
5 mysqladmin drop roundcube
6 rpm -e --nodeps cpanel-roundcubemail
7 /usr/local/cpanel/scripts/check_cpanel_rpms --fix
8 mysql roundcube < /var/cpanel/roundcube/roundcube.backup.sql.1495215554
What MySQL version are you currently running?
Did you start the services?
Guys, the OP is long gone
Not just OP's long gone, but weren't the necro guy bannes before? Or maybe he was just spamming, who knows at this point...
Sorry, didn't see the date of the original post.
Hasn't this cPanel/Roundcube issue been around for about 65 years?
No, 69 years.
iRedadmin is a good all in one solution for mail servers should check it out