When I try to connect to a MySQL server that runs in a docker container(in System A) through my application(Running in system B) via wifi, it takes at least 4X amount of time than it would when both systems are connected via ethernet. I tried adding skip-name-resolve in my.cnf and mysqld.cnf but in vain. I cannot find where the problem is and how the same can be solved!
I am attaching the dockerfile below. Thanks