change the default 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: Ic609ce136061b753ca692b37509a0b29c60bb8b5
This commit is contained in:
parent
37421991b4
commit
b3798af474
@ -11,7 +11,7 @@
|
|||||||
MY_XTRACE=$(set +o | grep xtrace)
|
MY_XTRACE=$(set +o | grep xtrace)
|
||||||
set +o xtrace
|
set +o xtrace
|
||||||
|
|
||||||
MYSQL_DRIVER=${MYSQL_DRIVER:-MySQL-python}
|
MYSQL_DRIVER=${MYSQL_DRIVER:-PyMySQL}
|
||||||
# Force over to pymysql driver by default if we are using it.
|
# Force over to pymysql driver by default if we are using it.
|
||||||
if is_service_enabled mysql; then
|
if is_service_enabled mysql; then
|
||||||
if [[ "$MYSQL_DRIVER" == "PyMySQL" ]]; then
|
if [[ "$MYSQL_DRIVER" == "PyMySQL" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user