Jump to content

Installation failed to create the database revive


Recommended Posts

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 error
connect: [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 by Vel
Updated Revive version
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...