Skip to content
This repository was archived by the owner on Mar 26, 2022. It is now read-only.
This repository was archived by the owner on Mar 26, 2022. It is now read-only.

Incorrect mysql password #4

@andy9775

Description

@andy9775

I've tried following the specified directions and can't seem to boot up the image.

running docker-compose up -d mysql doesn't allow me to log into mysql with the specified password via docker exec. To fix this I execute docker run ... which allows me to login. However, both approaches result in the following error

...
+ echo 'Testing MySQL admin credentials correctness...'
Testing MySQL admin credentials correctness...
+ mysql_wrapper -hmysql -uroot
+ echo 'show databases'
+ echo -e '\n\n\tProvided MySQL admin credentials are incorrect\n'


	Provided MySQL admin credentials are incorrect

++ whoami
+ echo -e 'Please create ~root/.my.cnf with right password like this\n'
Please create ~root/.my.cnf with right password like this
...

The password is being passed through correctly via the env variables (it's echoed out above the error message) however it seems like it's not logging in

Any ideas??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions