Switch from MySQL-python to PyMySQL

As discussed in the Liberty Design Summit "Moving apps to Python 3"
cross-project workshop, the way forward in the near future is to
switch to the pure-python PyMySQL library as a default.

https://etherpad.openstack.org/p/liberty-cross-project-python3

Change-Id: Ic5b8afd5968a3ea9cb32069d289f3c59729d776e
This commit is contained in:
Jeremy Stanley 2015-05-20 01:03:59 +00:00
parent c75db095a2
commit ac20f3d363
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ Open Manila configuration file `/etc/manila/manila.conf`::
[DATABASE]
# Set up MySQL connection. In following foo is username,
# bar is password and quuz is host name or address:
connection = mysql://foo:bar@quuz/manila?charset=utf8
connection = mysql+pymysql://foo:bar@quuz/manila?charset=utf8
[oslo_concurrency]
# Following opt defines directory to be used for lock files creation.

View File

@ -11,7 +11,7 @@ ddt>=0.4.0
discover
fixtures>=0.3.14
mock>=1.0
MySQL-python
PyMySQL>=0.6.2 # MIT License
oslotest>=1.5.1 # Apache-2.0
oslosphinx>=2.5.0 # Apache-2.0
psycopg2