You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docker command I am using to run mysql container instance : docker run --rm --name nest-mysql -p3306:3306 -e MYSQL_ROOT_PASSWORD=rootpass -e MYSQL_DATABASE=nestjsrealworld -d mysql
The problem I get is it cannot to DB :/
[Nest] 18963 - 2019-07-02 2:35 PM [TypeOrmModule] Unable to connect to the database. Retrying (1)... +97ms
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
I have checked on the Mysql container logs it is ready for connections...
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to make NestJs web-app to connect to a Mysql DB running in a docker container.
ormconfig.json :
The docker command I am using to run mysql container instance :
docker run --rm --name nest-mysql -p3306:3306 -e MYSQL_ROOT_PASSWORD=rootpass -e MYSQL_DATABASE=nestjsrealworld -d mysql
The problem I get is it cannot to DB :/
I have checked on the Mysql container logs it is ready for connections...
Thanks for your help.
The text was updated successfully, but these errors were encountered: