Vel Posted October 26, 2021 Report Posted October 26, 2021 (edited) Hi, I am new to Webserver domain and trying to install Revive_5.3.0 using Docker. I referred the docker approach from https://hub.docker.com/r/dustinhawkins/revive to launch from localhost. Getting the below error while creating Mysql database. Could anyone please guide to resolve this issue? MDB2 Error: unknown errorconnect: [Error message: php_network_getaddresses: getaddrinfo failed: Try again] [Native code: 2002] [Native message: php_network_getaddresses: getaddrinfo failed: Try again]Installation failed to create the database revive Note: I used the below services in docker-compose yaml file. mysql: image: mysql:5.7 restart: always environment: - MYSQL_DATABASE=revive - MYSQL_USER=user - MYSQL_PASSWORD=password Thanks in Advance. Edited October 26, 2021 by Vel Updated Revive version Quote
Vel Posted October 27, 2021 Author Report Posted October 27, 2021 Hi, This issue has been resolved just by adding " - MYSQL_ROOT_PASSWORD=root" in the mentioned 'mysql' container's environment part. So, request to close this topic. Note: The "MDB2 Error" message was misleading for this issue. Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.