diff options
author | Florian Pritz <bluewind@xinu.at> | 2020-09-20 14:55:53 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-09-20 14:55:53 +0200 |
commit | 80577e948a210e60e6738bf6ea3b0b391ab07b48 (patch) | |
tree | 9bfe71b540c1ec963d3fc06f8d88ed7d0526bbee /git-hooks | |
parent | 3633a9d84c79d43cf5ae3c0237e038c2b1eb0e1d (diff) |
docker: Fix database error during initial migration
The following error was shown during initial startup of the container
and the database was obviously not initialized because of this. I'm not
sure why it happens, but setting the database name in the config (in
addition to the name in the PDO connection string) fixes the problem.
> Database error: A Database Error Occurred
>
> Error Number: 42000/1102
> Incorrect database name ''
> SHOW TABLES FROM ``
> Filename: libraries/Migration.php
> Line Number: 167
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'git-hooks')
0 files changed, 0 insertions, 0 deletions