ફિક્સ રાઉન્ડક્યુડ ડેટાબેઝ ભૂલને ઠીક કરો: કનેક્શન નિષ્ફળ થયું!

CWP કંટ્રોલ પેનલમાં રાઉન્ડક્યુડ ઇમેઇલમાં લોગ ઇન કરતી વખતે , નીચેનો ભૂલ સંદેશ દેખાય છે: ▼

DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

ફિક્સ રાઉન્ડક્યુડ ડેટાબેઝ ભૂલને ઠીક કરો: કનેક્શન નિષ્ફળ થયું!

રાઉન્ડક્યુડ ડેટાબેઝ ભૂલો માટે તપાસો

કૃપા કરીને રાઉન્ડક્યુડ એરર લોગ ફાઇલ તપાસો ▼

/usr/local/cwpsrv/var/services/roundcube/logs/errors

જો તમારી ભૂલ આના જેવી લાગે છે ▼

[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/)

રાઉન્ડક્યુબ રૂપરેખા ફાઇલ તપાસો

રાઉન્ડક્યુબ રૂપરેખાંકન ફાઇલમાં સેટ કરેલ પાસવર્ડ તપાસો  /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php

grep db_dsnw /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php

આઉટપુટ આના જેવું હશે ▼

$config['db_dsnw'] = 'mysqli://roundcube:42Etn3fd7skc@localhost/roundcube';
  • આ સૂચવે છે કે પાસવર્ડ છે 42Etn3fd7skc

હવે ચાલો MySQL માં સમાન મૂલ્ય સેટ કરીએ ▼

mysql -e "SET PASSWORD FOR 'roundcube'@'localhost' = PASSWORD('42Etn3fd7skc');"
mysql -e "FLUSH PRIVILEGES;"

તપાસો કે રાઉન્ડક્યુબ કામ કરે છે?

હવે, ફરી તપાસો કે રાઉન્ડક્યુબ કામ કરે છે કે કેમ?

જો આ ભૂલ થાય તો ▼

[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/)

આ આદેશ ચલાવો ▼

mysql -u root 'roundcube' < /usr/local/cwpsrv/var/services/roundcube/SQL/mysql.initial.sql

બસ, તમારા રાઉન્ડક્યુડનો આનંદ માણો.

આ ઉપરાંત, ઉપરોક્ત ભૂલથી અલગ બીજી ભૂલ છે, ઉકેલ અને સમારકામ પદ્ધતિ, કૃપા કરીને નીચેની લેખની લિંક બ્રાઉઝ કરો▼

આશા છે કે, ચેન વેઇલિયાંગના બ્લોગ ( https://www.chenweiliang.com/ ) પર શેર કરાયેલ લેખ "રાઉન્ડક્યુડ ડેટાબેઝ ભૂલનું નિરાકરણ અને સમારકામ: કનેક્શન નિષ્ફળ ગયું!" તમારા માટે મદદરૂપ થશે.

આ લેખની લિંક શેર કરવા માટે નિઃસંકોચ રહો: ​​https://www.chenweiliang.com/cwl-1163.html

વધુ છુપાયેલા યુક્તિઓ🔑 અનલૉક કરવા માટે, અમારી ટેલિગ્રામ ચેનલમાં જોડાવા માટે આપનું સ્વાગત છે!

ગમે તો શેર કરો અને લાઈક કરો! તમારા શેર અને લાઈક્સ એ અમારી સતત પ્રેરણા છે!

 

评论 评论

您的邮箱地址不会被公开。必填项已用*标注

ટોચ પર સ્ક્રોલ