Small fix DB Login error with special characters#3022
Small fix DB Login error with special characters#3022Erdack54 wants to merge 2 commits intoBookStackApp:masterfrom Erdack54:master
Conversation
Fix db login error (SQLSTATE[HY000] [1045] Access denied for user 'database_username'@'database_database' ...) with special characters on credentials
|
Thanks for offering this @Erdack54 but we do already have a warning in regards to potential required quoting here: Lines 6 to 7 in e7bec79 Otherwise I try to keep these config files, especially the default example, fairly concise. I don't think the MySQL/MariaDB note has much value being in the In addition, I don't think these changes would help solve that linuxserver.io issue where it fails to start after a restart. In fact, we'd need to coordinate any changes to the default There could be some value in pre-quoting some values, like the |
Hi, small fix for DB Login error (SQLSTATE[HY000] [1045] Access denied for user 'database_username'@'database_database' ...) with special characters on credentials, especialy on DB_PASSWORD
Working idk if it's perfect but the idea is here, i and many peoples apparently have encounter this small problem, especialy with Docker image like linuxserver/bookstack work on first start no problem everything working very well but after a restart MySQL Access denied for use.. with a nice HTTP Error 500 on browser 😕
First pull request hope it's not too bad and will help :D