Mysql connection - access denied

Hi friends,

I want to connect mysql’s container on AWS installed machine,

I get mysql’s root password from config.yml file,

After that I run docker exec -it tutor_local_mysql_1 mysql -u root -p and enter password from config.yml file but it gives me access denied error, but in my local computer it works well,

Edit :

I run this command : docker exec -it tutor_local_mysql_1 mysqld --verbose --help | grep bind-address

Its output : --bind-address=name IP address to bind to.
bind-address

How can I solve this problem?

This command works : docker exec -it tutor_local_mysql_1 mysql -u root --password=$(tutor config printvalue MYSQL_ROOT_PASSWORD)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.