Hi, I’m trying to make local docker DB instance for developer, I’ve build a small script and basically it ends up running
On my Ubuntu 18.04 with docker 19.03 it works fine, but we tried the same run to my colleague on her Ubuntu 16.04 and docker 18.x and we are having issue connecting to mysql. So basically I’ve tried to play with permissions, but even can’t connect to DB from container itself.
I run docker exec -it bash and then mysql -u root -p
ERROR 1130 (HY000): Host ‘xxxx’ is not allowed to connect to this MySQL server
I checked port is open using telnet. Tried to add --env=“MYSQL_ROOT_HOST=%” still doesn’t help. I’m running out of ideas, and with remote work I really can’t constantly access her computer to try to fix the issue. I mean if there are any ideas I can try them, but I can’t gain access for hours and play with it on my own time.
Any ideas will be appreciated