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.
both ec2 , rds instance in same zone of aws(read might have been issue)
permission have been problem, checked trying login local machine, , able access mysql commandline on server.
checked database settings django picking @ runtime,they correct.
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
Post a Comment