I am trying to get root access to my Docker MySQL image that I created. I placed environment variables for ROOT_PASSWORD and DATABASE so I'm sure that a password does exist and I am able to access root using the command line. The problem lies in trying to access root with MySQLWorkbench or SequelPro. I have hostname set to localhost, user as root and port as 3307 (I had mapped this port when running the command to create the database). When I attempt to connect I get an error
"Your connection attempt failed for user 'root' to the MySQL server at localhost:3307: Host is not allowed to connect to this MySQL server"
I've tried changing the port number to 3306, changing the IP to 127.0.0.1 as well as but the error doesn't go away. I checked a GitHub post that suggested that root user should have "%" as host and that could be achieved by changing my bind-address. Problem is I cannot find the mysql.cnf config file...I don't even think one exists on my system