summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorJeremy Stanley <fungi@yuggoth.org>2015-05-20 01:03:58 +0000
committerJeremy Stanley <fungi@yuggoth.org>2015-06-18 18:05:44 +0000
commitf6e34c9017f77c70d6cf0db73a6d5032f582ba2d (patch)
tree391977911217ba03fdb44a6a481a58b72a97421c /install.sh
parent60300b014952f5b2fa4c2a9010876f5b871f0f66 (diff)
downloadheat-f6e34c9017f77c70d6cf0db73a6d5032f582ba2d.tar.gz
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 Also set the OS_TEST_DBAPI_ADMIN_CONNECTION override variable so that oslo.db opportunistic detection will know to use PyMySQL until I12b32dc097a121bd43991bc38dd4d289b65e86c1 makes it the default behavior. Change-Id: I17e052215ce6e1604cdda848ccc20862452ccbc7 Co-Authored-By: Victor Sergeyev <vsergeyev@mirantis.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 657ecdf76..822580937 100755
--- a/install.sh
+++ b/install.sh
@@ -73,7 +73,7 @@ basic_configuration() {
if echo $conf_path | grep ".conf$" >/dev/null 2>&1
then
iniset $target DEFAULT auth_encryption_key `hexdump -n 16 -v -e '/1 "%02x"' /dev/random`
- iniset $target database connection "mysql://heat:heat@localhost/heat"
+ iniset $target database connection "mysql+pymysql://heat:heat@localhost/heat"
BRIDGE_IP=127.0.0.1
iniset $target DEFAULT heat_metadata_server_url "http://${BRIDGE_IP}:8000/"