I’ve installed the V5 in docker with the instruction from GitHub, but in the setup page after I hit the “Submit button” i get redirected to the setup page again.
The app logs continuously report:
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'172.18.0.11' (using password: YES)
But when I enter the info in the setup page and i hit the “Test connection” button, it says “Success!”. I’ve tried to connect to the DB (from another host) with the credential used in the setup and I can connect, select the db and show the tables.
Strange thing: if I edit the db password in the env and docker-compose (like in the file pasted down here), I can no longer login to the db.
No SSL involved.
env file:
APP_URL=http://in.localhost:8003/
APP_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
APP_DEBUG=true
MULTI_DB_ENABLED=false
DB_HOST1=db
DB_USERNAME1=ninja
DB_PASSWORD1=ninja21!
DB_DATABASE1=ninja
#this is a system variable please do not remove
IS_DOCKER=true