Try using pymysql instead of mysqldb.
This commit is contained in:
parent
f8f86bcb04
commit
52db1c8796
3 changed files with 2 additions and 6 deletions
|
@ -23,9 +23,6 @@ commands:
|
|||
command: grep "python2.7" 03deploy.py || sed -i 's/--distribute/--python=python2.7 &/' 03deploy.py
|
||||
cwd: /opt/elasticbeanstalk/hooks/appdeploy/pre
|
||||
|
||||
updatedistribute:
|
||||
command: easy_install -U distribute
|
||||
|
||||
container_commands:
|
||||
# Now that our app is installed using python2.7 we
|
||||
# need to fix some paths that the wsgi configuration
|
||||
|
|
Reference in a new issue