drewblin 063251248c
fix: set autocommit for mysql (#2638)
If in server config mysql has autocommit = 0, then wikijs fails with locks like this:
```
2020-10-30T12:56:51.725Z [JOB] error: Rebuilding page tree: [ FAILED ]
2020-10-30T12:56:51.726Z [JOB] error: truncate `pageTree` - Lock wait timeout exceeded; try restarting transaction
```
2020-12-13 14:57:20 -05:00
..
2020-05-24 18:02:05 -04:00
2020-04-19 22:47:02 -04:00
2020-12-13 14:57:20 -05:00
2019-10-07 00:06:47 -04:00
2020-10-03 17:30:56 -04:00