Unable to connect to docker database
-
Greetings.
I am attempting to install QLOApps on a VPS using Docker, and I've managed to get to the installation gui. However, it seems that I am unable to connect to the database that I believe is included in the docker image, and I don't know whether it is some kind of credential issue (i.e. I might be using the wrong environment variables when attempting to connect) or maybe a network issue of some kind.
In my attempts to diagnose the issue by connecting to the db separately, I did get the error "Can't connect to local MySQL server through socket" on the command line.
-
Hi @PAlexanderF,
Yes, you have followed the right process to resolve this issue by replacing "localhost" on the db login screen with 127.0.0.1
Then, using the db name that you set up in the docker run command MYSQL_DATABASE env variable, root as the user, and the MYSQL_ROOT_PASSWORD env variable for the password.