Artikelgids
登录CWP-kontrolepaneelroundcude-posbus, verskyn die volgende foutboodskap ▼
DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator.

Kyk vir roundcude-databasisfoute
Kontroleer assebliefroundcude fout log lêer ▼
/usr/local/cwpsrv/var/services/roundcube/logs/errorsAs jou fout so lyk ▼
[17-May-2021 20:18:11 +0000]: <gv4343g> DB Error: SQLSTATE[HY000] [1045] Access denied for user 'roundcube'@'localhost' (using password: YES) in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_db.php on line 173 (GET /roundcube/) [17-May-2021 20:18:11 +0000]: <gv4343g> DB Error: SQLSTATE[HY000] [1045] Access denied for user 'roundcube'@'localhost' (using password: YES) (GET /roundcube/)
Gaan die roundcube-konfigurasielêer na
Kontroleer die wagwoord wat in die roundcube-konfigurasielêer gestel is /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php
grep db_dsnw /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php
Die uitset sal so wees ▼
$config['db_dsnw'] = 'mysqli://roundcube:42Etn3fd7skc@localhost/roundcube';
- Dit dui aan dat die wagwoord is
42Etn3fd7skc
Laat ons nouMySQLstel dieselfde waarde in ▼
mysql -e "SET PASSWORD FOR 'roundcube'@'localhost' = PASSWORD('42Etn3fd7skc');"
mysql -e "FLUSH PRIVILEGES;"Kyk of roundcube werk?
Kyk nou weer of roundcube werk?
As hierdie fout voorkom ▼
[17-May-2021 20:29:09 +0000]: <gv91fd30g> DB Error: [1146] Table 'roundcube.session' doesn't exist (SQL Query: SELECT `vars`, `ip`, `changed`, now() AS ts FROM `session` WHERE `sess_id` = 'gv93bfdsfdffdfdj3') in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_db.php on line 539 (GET /roundcube/)
voer hierdie opdrag uit ▼
mysql -u root 'roundcube' < /usr/local/cwpsrv/var/services/roundcube/SQL/mysql.initial.sql
Dis dit, geniet joune rondsnuffel (ronde kubus).
Daarbenewens is daar nog 'n fout wat verskil van die bogenoemde fout, die oplossing en herstelmetode, blaai asseblief deur die artikelskakel hieronder▼
Hoop Chen Weiliang Blog ( https://www.chenweiliang.com/ ) gedeel "Oplossing en herstel van roundcude DATABASIS FOUT: VERBINDING HET MISLUK!", wat vir jou nuttig is.
Welkom om die skakel van hierdie artikel te deel:https://www.chenweiliang.com/cwl-1163.html
Om meer versteekte truuks🔑 te ontsluit, welkom om by ons Telegram-kanaal aan te sluit!
Share en like as jy daarvan hou! Jou shares en likes is ons voortdurende motivering!
![Los DB-fout op: [1286] Onbekende stoor-enjin 'InnoDB-blad 2 Los DB-fout op: [1286] Onbekende stoor-enjin 'InnoDB-blad 2](https://img.chenweiliang.com/2021/05/innodb-is-off.jpg)