I am running Mediawiki in a Docker container with a separate MySQL container as the DB. I have set up my DB via the install wizard but no matter what I do I get the Cannot access the database: No such file or directory (localhost) error.
I am positive my settings for Mediawiki are all correct but I still will have the localhost error. It even says localhost when my DB is NOT on localhost. Are there any known issues for using Mediawiki in a Docker Container? I have the containers linked and both can talk to each other. I can access the db from the browser using a DB connection test script on the mediawiki container. The mysql client can also connect just fine from the mediawiki container.
Also why does it say localhost when it's not a local db?