Host is not allowed to connect to this MySQL server

I’m afraid I’m out of ideas in that case. I can’t explain why the MySQL container is misbehaving in your setup.