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:
parent
c75db095a2
commit
ac20f3d363
@ -219,7 +219,7 @@ Open Manila configuration file `/etc/manila/manila.conf`::
|
|||||||
[DATABASE]
|
[DATABASE]
|
||||||
# Set up MySQL connection. In following ‘foo’ is username,
|
# Set up MySQL connection. In following ‘foo’ is username,
|
||||||
# ‘bar’ is password and ‘quuz’ is host name or address:
|
# ‘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]
|
[oslo_concurrency]
|
||||||
# Following opt defines directory to be used for lock files creation.
|
# Following opt defines directory to be used for lock files creation.
|
||||||
|
@ -11,7 +11,7 @@ ddt>=0.4.0
|
|||||||
discover
|
discover
|
||||||
fixtures>=0.3.14
|
fixtures>=0.3.14
|
||||||
mock>=1.0
|
mock>=1.0
|
||||||
MySQL-python
|
PyMySQL>=0.6.2 # MIT License
|
||||||
oslotest>=1.5.1 # Apache-2.0
|
oslotest>=1.5.1 # Apache-2.0
|
||||||
oslosphinx>=2.5.0 # Apache-2.0
|
oslosphinx>=2.5.0 # Apache-2.0
|
||||||
psycopg2
|
psycopg2
|
||||||
|
Loading…
Reference in New Issue
Block a user