error rouncube webmail DATABASE ERROR: CONNECTION FAILED

adamda

Verified User
Joined
Dec 30, 2019
Messages
6
my rouncube webmail errror

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

i have tred to solve the issu using https://help.directadmin.com/item.php?id=206

but is doens't work

mysql> DROP DATABASE da_roundcube;
Query OK, 15 rows affected (0.08 sec)

mysql> quit
Bye
[root@server ~]# cd /usr/local/directadmin/custombuild
[root@server custombuild]# ./build roundcube
Inserting data to mysql and creating database/user for roundcube...
Found MySQL version 8.0
Granting access: GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,LOCK TABLES,INDEX,REFERENCES ON da_roundcube.* TO 'da_roundcube'@'localhost';
Setting password: ALTER USER 'da_roundcube'@'localhost' IDENTIFIED WITH mysql_native_password BY 'qwOMTpihUQ6qUH';
Database created, da_roundcube password is qwOMTpihUQ6qUH
Editing roundcube configuration...
Roundcube 1.4.2 has been installed successfully.
WARNING: Changed defaults (These config options have new default values):
- 'skin'
- 'smtp_port'
- 'smtp_user'
- 'smtp_pass'
- 'jquery_ui_skin_map'
Executing database schema update.
ERROR: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
ERROR: Failed to connect to database
Reloading apache.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,021
Hard to say. First guess would be some mysqld issue, perhaps it's not running.
Check
Code:
service mysqld status
to see what it's up to.. if it's not running, try starting it.. or check the .err log in /var/lib/mysql/*.err.

If needed, creating a ticket or support email would be simplest if you'd like us to take a look.

John
 
Top