Closed
Description
I'm trying to connect to the MySQL by the DBeaver db manager.
But I get this error: java.sql.SQLException: null, message from server: "Host '172.18.0.1' is not allowed to connect to this MySQL server"
I using docker-compose, here is my docker-compose.yml:
version: '2'
services:
db:
image: 'mysql:5.7'
volumes:
- '~/dev/dbs-data/mysql:/var/lib/mysql'
restart: 'always'
expose:
- '3306'
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: 'pass'
MYSQL_DATABASE: 'db'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'pass'
The problem is that, in my Mac it works, but in my Linux I get the error above.
Should I do some other configuration for my linux?
Metadata
Metadata
Assignees
Labels
No labels