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

This change handles only common files and Config Reference.

Change-Id: I8d60ec2ca85c3099fc39c293ada0a78fffb28599
This commit is contained in:
Jeremy Stanley
2015-05-20 01:04:00 +00:00
committed by Andreas Jaeger
parent 063b5f2356
commit 6d9d70f3ee
10 changed files with 10 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ ca_path=./nova/CA
# Add the following to your conf file if you're running on Ubuntu Maverick
xenapi_remap_vbd_dev=true
[database]
connection=mysql://root:&lt;password&gt;@127.0.0.1/nova</programlisting>
connection=mysql+pymysql://root:&lt;password&gt;@127.0.0.1/nova</programlisting>
<figure xml:id="Nova_conf_XEN_Flat">
<title>KVM, Flat, MySQL, and Glance, OpenStack or EC2
API</title>