python - Django not connecting to RDS Mysql -


i trying deploy django app on ec2 , using rds(mysql) backend.

however when try run gunicorn this, server not respond, , if run python manage.py dbshell error:

commanderror: appear not have 'mysql' program installed or on path.

it seems trying connect local server of mysql when have changed host setting database dict rds deployment

things have done solving , trouble shooting: 1. have changed database settings point rds database.

  1. both ec2 , rds instance in same zone of aws(read might have been issue)

  2. permission have been problem, checked trying login local machine, , able access mysql commandline on server.

  3. checked database settings django picking @ runtime,they correct.

  4. install mysql-python, not install without local installation of mysql, googled , people suggested install libmysqlclient-dev first , should able install mysql-python.

has face similar problem? doing wrong here?


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -