"Access denied for user" during panel installation using database user password with special characters #3287
Closed
Description
Background (please complete the following information):
- Panel or Wings: Panel
- Version of Panel/Wings: 1.3.2
- Server's OS: Debian 9
Describe the bug & To Reproduce
Assuming you want to install the panel and your database user password contains special characters like %
, &
or #
. (And assuming that the entered credentials during php artisan p:environment:database
were correct.)
When running php artisan migrate --seed --force
you'll get this error message:
You can resolve this error by manually editing the .env
file and wrap "
around the password like this: DB_PASSWORD="PASSWORD"
.
Expected behavior
The password is automatically wrapped with "
, e.g.
Metadata
Assignees
Labels
No labels