Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to MariaDB with standard compose file #955

Open
amenk opened this issue May 9, 2024 · 0 comments
Open

Cannot connect to MariaDB with standard compose file #955

amenk opened this issue May 9, 2024 · 0 comments

Comments

@amenk
Copy link
Contributor

amenk commented May 9, 2024

When using the original docker-compose.yml I got the this error

An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.19.0.4' is not allowed to connect to this MariaDB server                            

I was able to solve it using

database:
...
   environment:
...
      MYSQL_ROOT_HOST: "%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant