From b3d8822ec835f1ca7eb5d9742b28f2ece480b387 Mon Sep 17 00:00:00 2001 From: armando-migliaccio Date: Fri, 12 Jun 2015 07:54:03 -0700 Subject: [PATCH] Revert "Revert "change the default to PyMYSQL"" Some projects (Neutron) seem to be affected more than others, so we should revert this to allow for a more selective choice of the DB driver on a per project basis. We can re-enable the use MySQL-python just for Neutron. This reverts commit de8d29ed8ce4a26b61cbee48f9fe5418d5416a06. Related-Bug: #1464612 Change-Id: I889f4f8b116c413b300ab9eecc7b428a9a4afb1a --- lib/databases/mysql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/databases/mysql b/lib/databases/mysql index 7cd2856ae9..832c2ca6d7 100644 --- a/lib/databases/mysql +++ b/lib/databases/mysql @@ -11,7 +11,7 @@ MY_XTRACE=$(set +o | grep 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. if is_service_enabled mysql; then if [[ "$MYSQL_DRIVER" == "PyMySQL" ]]; then