docs: add mysql gone away
This commit is contained in:
parent
3f95f86979
commit
5c62cbff7a
1 changed files with 14 additions and 0 deletions
|
@ -6,3 +6,17 @@
|
||||||
1. Install Debian
|
1. Install Debian
|
||||||
2. Install [Hestia](https://hestiacp.com)
|
2. Install [Hestia](https://hestiacp.com)
|
||||||
3. Profit (like, literally)
|
3. Profit (like, literally)
|
||||||
|
|
||||||
|
## Troubling
|
||||||
|
|
||||||
|
### MySQL server has gone away
|
||||||
|
|
||||||
|
You probably have too low limits. Faced this with HestiaCP and NextCloud.
|
||||||
|
Add a new file:
|
||||||
|
|
||||||
|
``` cfg title="/etc/mysql/conf.d/mysqld.cnf"
|
||||||
|
[mysqld]
|
||||||
|
wait_timeout = 28800
|
||||||
|
interactive_timeout = 28800
|
||||||
|
max_allowed_packet = 128M
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue