Docker?
-
When I try to install my backup made with Duplicator 1.5.9 in my freshly made Docker WordPress container, using bind, I can neither connect to localhost when doing the validation —?Error: “Unable to connect the user [db-user] to the host [localhost]. The server error response was: No such file or directory‘ “— nor to 127.0.0.1 — Error: “Unable to connect the user [db-user] to the host [127.0.0.1]. The server error response was: Connection refused‘ “.
However, I can use the same credentials to connect locally through my OS (mac) with any DB app, or I can issuedocker exec -it
from Docker Desktop and connect through the CLI. I can create and see tables no problem. If I instead use wordpress (another build) as is it works just as fine. But duplicator does not. I do make sure to delete everything for each run.
in the dup-installer-log… file you can read pretty much the same thing, except it also states under “INSTALLER ERROR:” that “DATABASE: NULL”, which is surprising given I’ve supplied that. The same is true for both “127.0.0.1” as well as “localhost”.
What can be done?
- You must be logged in to reply to this topic.