Pass AWS RDS password to appsettings.Development.json from env variable using docker run

0

I'm trying to pass the password for my AWS RDS MySql instance from the env variable stored in my ec2 instance when I do a docker run. This is the issue I'm trying to solve:

MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'xxx.us-west-2.rds.amazonaws.com' for user 'xxx' using method 'mysql_native_password' failed with message: Access denied for user 'xxx'@'xxx' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'xxx'@'xxx' (using password: NO)

mysql
amazon-web-services
docker
.net-core
asked on Stack Overflow Jul 14, 2018 by William Luky • edited Jul 14, 2018 by L_J

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0