docker-mysql icon indicating copy to clipboard operation
docker-mysql copied to clipboard

DB_USER can not connect remotly

Open KeremTubluk opened this issue 10 years ago • 1 comments

There is two problems with this installation for remote access.

  1. /etc/mysql/my.conf binds to 127.0.0.1
  2. The default user have no host associated with it.

KeremTubluk avatar Sep 05 '15 22:09 KeremTubluk

  1. /etc/mysql/my.conf binds to 127.0.0.1

This is not true, see https://github.com/sameersbn/docker-mysql/blob/master/entrypoint.sh#L153

  1. The default user have no host associated with it.

You can create a remote root using the DB_REMOTE_ROOT_NAME and DB_REMOTE_ROOT_HOST parameters https://github.com/sameersbn/docker-mysql#creating-remote-user-with-privileged-access

sameersbn avatar Sep 06 '15 08:09 sameersbn