Fix : Django application deployment fails in AWS ElasticBean

 


Django  deployment never fails unless it is at the Database drivers.

The required version of mysqlclient isn't found. is the common error you get in Amazon Web Services server logs

If you are here after reading my pervious post then you must have wasted days while deploying your Django app on ElasticBean

The only reason of failure could be the installion of the mysql drivers.

The regular DB driver that django installs or in your requirement.txt file is mysqlclient

You try the below mysqlDrivers: 

mysql-python

mysql-connector-python

For my app  mysql-connector-python worked.

Go through this site https://dev.mysql.com/downloads/connector/python/

Comments