Switch to PyMYSQL

Switching to PyMySQL for future compatibility.

Change-Id: Ib395c82dea6160df16349bbea8309ebe4e167c28
This commit is contained in:
Julia Kreger 2015-11-03 13:22:41 -05:00
parent f3e9cf9b98
commit e07c6bff36
2 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,7 @@
dest=/etc/ironic/ironic.conf
insertafter="[database]"
regexp='^(.*)connection=(.*)$'
line="connection=mysql://ironic:{{ ironic_db_password }}@localhost/ironic?charset=utf8"
line="connection=mysql+pymysql://ironic:{{ ironic_db_password }}@localhost/ironic?charset=utf8"
- name: "Configure DHCP provider"
lineinfile:
dest=/etc/ironic/ironic.conf

View File

@ -9,3 +9,4 @@ Babel>=1.3
oslo.config>=2.3.0 # Apache-2.0
oslo.log>=1.8.0 # Apache-2.0
six>=1.9.0
PyMySQL>=0.6.2 # MIT License