shahzaibcb
New member
- Joined
- Jun 17, 2020
- Messages
- 3
Hi,
Recently we switched from apache+nginx to nginx+php-fpm and roundcube started giving database connection failed error. We try to update the roundcube but it gives mysql gone away:
Recently we switched from apache+nginx to nginx+php-fpm and roundcube started giving database connection failed error. We try to update the roundcube but it gives mysql gone away:
Code:
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 '5iil8lWiCWN2QA';
Editing roundcube configuration...
Roundcube 1.4.5 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] [2006] MySQL server has gone away
ERROR: Failed to connect to database
Reloading php-fpm73.