Browse code

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

Sean Dague authored on 2015/05/20 22:48:02
Showing 1 changed files
... ...
@@ -11,7 +11,7 @@
11 11
 MY_XTRACE=$(set +o | grep xtrace)
12 12
 set +o xtrace
13 13
 
14
-MYSQL_DRIVER=${MYSQL_DRIVER:-MySQL-python}
14
+MYSQL_DRIVER=${MYSQL_DRIVER:-PyMySQL}
15 15
 # Force over to pymysql driver by default if we are using it.
16 16
 if is_service_enabled mysql; then
17 17
     if [[ "$MYSQL_DRIVER" == "PyMySQL" ]]; then