Sengoli sa Lingoloa
Loka kahareSehlopha sa Taolo sa CWProundcude mailbox, molaetsa o latelang oa phoso o hlaha ▼
DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator.
Sheba liphoso tsa database tsa roundcude
ka kopo, netefatsaroundcude error log file ▼
/usr/local/cwpsrv/var/services/roundcube/logs/errors
Haeba phoso ea hau e shebahala tjena ▼
[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/)
Sheba faele ea configube ea roundcube
Sheba phasewete e behiloeng faeleng ea tlhophiso ea roundcube /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php
grep db_dsnw /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php
Sephetho se tla ba tjena ▼
$config['db_dsnw'] = 'mysqli://roundcube:42Etn3fd7skc@localhost/roundcube';
- Sena se bontša hore password ke
42Etn3fd7skc
Joale ha reMySQLbeha boleng bo tšoanang ho ▼
mysql -e "SET PASSWORD FOR 'roundcube'@'localhost' = PASSWORD('42Etn3fd7skc');" mysql -e "FLUSH PRIVILEGES;"
Sheba hore na roundcube ea sebetsa?
Joale, hlahloba hape hore na roundcube ea sebetsa?
Haeba phoso ena e etsahala ▼
[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/)
tsamaisa taelo ena ▼
mysql -u root 'roundcube' < /usr/local/cwpsrv/var/services/roundcube/SQL/mysql.initial.sql
Ke phetho, thabela tsa hao sehiloeng se chitja (khube e chitja).
Ntle le moo, ho na le phoso e 'ngoe e fapaneng le phoso e kaholimo, tharollo le mokhoa oa ho lokisa, ka kopo sheba sehokelo sa sengoloa se ka tlase▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) o ile a arolelana "Ho rarolla le ho lokisa roundcude DATABASE ERROR: CONNECTION FAILED!", E leng thuso ho uena.
Rea u amohela ho arolelana sehokelo sa sengoloa sena:https://www.chenweiliang.com/cwl-1163.html
Rea u amohela ho mocha oa Telegraph oa blog ea Chen Weiliang ho fumana lintlha tsa morao-rao!
📚 Tataiso ena e na le boleng bo boholo, 🌟Ona ke monyetla o sa tloaelehang, se ke oa o fetoa! ⏰⌛💨
Share le rata haeba u rata!
Ho arolelana le lintho tseo u li ratang ke khothatso ea rona e tsoelang pele!