Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
How to fix database error for roundcube on centos?
New on LowEndTalk? Please Register and read our Community Rules.

How to fix database error for roundcube on centos?

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:[email protected](/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?

    Where words fail, music speaks. (Hans Christian Andersen)
    Adapt or perish, now as ever, is nature's inexorable imperative. (HG Wells)

  • Guys, the OP is long gone

    Thanked by 1sandanista

    "Linux will run happily with only 4 MB of RAM, including all of the bells and whistles such as the X Window System, Emacs, and so on." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 32)

  • @angstrom said:
    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...

  • @angstrom said:
    Guys, the OP is long gone

    Sorry, didn't see the date of the original post.

    Thanked by 1angstrom

    Where words fail, music speaks. (Hans Christian Andersen)
    Adapt or perish, now as ever, is nature's inexorable imperative. (HG Wells)

  • raindog308raindog308 Administrator, Moderator

    @cloudminister said: Here are the steps

    Hasn't this cPanel/Roundcube issue been around for about 65 years?

    For LET support, please visit the support desk.

  • deankdeank Member, Troll

    No, 69 years.

    There are two things that make Earth spin: Money and PMS.

  • iRedadmin is a good all in one solution for mail servers should check it out

Sign In or Register to comment.