QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unable to connect to docker database

    Technical Help
    2
    2
    411
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PAlexanderF last edited by

      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.

      D 1 Reply Last reply Reply Quote 0
      • D
        Deeksha Rana @PAlexanderF last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post