<div dir="ltr">Has anybody considered the native python connector for MySQL that supports Python 3.<div><br></div><div>Here are the Ubuntu Packages.</div><div><br></div><div><br></div><div><div>$ apt-get show python-mysql.connector</div><div>E: Invalid operation show</div><div>rbradfor@rubble:~$ apt-cache show python-mysql.connector</div><div>Package: python-mysql.connector</div><div>Priority: optional</div><div>Section: universe/python</div><div>Installed-Size: 386</div><div>Maintainer: Ubuntu Developers <<a href="mailto:ubuntu-devel-discuss@lists.ubuntu.com">ubuntu-devel-discuss@lists.ubuntu.com</a>></div><div>Original-Maintainer: Sandro Tosi <<a href="mailto:morph@debian.org">morph@debian.org</a>></div><div>Architecture: all</div><div>Source: mysql-connector-python</div><div>Version: 1.1.6-1</div><div>Replaces: mysql-utilities (<< 1.3.5-2)</div><div>Depends: python:any (>= 2.7.5-5~), python:any (<< 2.8)</div><div>Breaks: mysql-utilities (<< 1.3.5-2)</div><div>Filename: pool/universe/m/mysql-connector-python/python-mysql.connector_1.1.6-1_all.deb</div><div>Size: 67196</div><div>MD5sum: 22b2cb35cf8b14ac0bf4493b0d676adb</div><div>SHA1: de626403e1b14f617e9acb0a6934f044fae061c7</div><div>SHA256: 99e34f67d085c28b49eb8145c281deaa6d2b2a48d741e6831e149510087aab94</div><div>Description-en: pure Python implementation of MySQL Client/Server protocol</div><div> MySQL driver written in Python which does not depend on MySQL C client</div><div> libraries and implements the DB API v2.0 specification (PEP-249).</div><div> .</div><div> MySQL Connector/Python is implementing the MySQL Client/Server protocol</div><div> completely in Python. This means you don't have to compile anything or MySQL</div><div> (client library) doesn't even have to be installed on the machine.</div><div>Description-md5: bb7e2eba7769d706d44e0ef91171b4ed</div><div>Homepage: <a href="http://dev.mysql.com/doc/connector-python/en/index.html">http://dev.mysql.com/doc/connector-python/en/index.html</a></div><div>Bugs: <a href="https://bugs.launchpad.net/ubuntu/+filebug">https://bugs.launchpad.net/ubuntu/+filebug</a></div><div>Origin: Ubuntu</div><div><br></div><div>$ apt-cache show python3-mysql.connector</div><div>Package: python3-mysql.connector</div><div>Priority: optional</div><div>Section: universe/python</div><div>Installed-Size: 385</div><div>Maintainer: Ubuntu Developers <<a href="mailto:ubuntu-devel-discuss@lists.ubuntu.com">ubuntu-devel-discuss@lists.ubuntu.com</a>></div><div>Original-Maintainer: Sandro Tosi <<a href="mailto:morph@debian.org">morph@debian.org</a>></div><div>Architecture: all</div><div>Source: mysql-connector-python</div><div>Version: 1.1.6-1</div><div>Depends: python3:any (>= 3.3.2-2~)</div><div>Filename: pool/universe/m/mysql-connector-python/python3-mysql.connector_1.1.6-1_all.deb</div><div>Size: 64870</div><div>MD5sum: 461208ed1b89d516d6f6ce43c003a173</div><div>SHA1: bd439c4057824178490b402ad6c84067e1e2884e</div><div>SHA256: 487af52b98bc5f048faf4dc73420eff20b75a150e1f92c82de2ecdd4671659ae</div><div>Description-en: pure Python implementation of MySQL Client/Server protocol (Python3)</div><div> MySQL driver written in Python which does not depend on MySQL C client</div><div> libraries and implements the DB API v2.0 specification (PEP-249).</div><div> .</div><div> MySQL Connector/Python is implementing the MySQL Client/Server protocol</div><div> completely in Python. This means you don't have to compile anything or MySQL</div><div> (client library) doesn't even have to be installed on the machine.</div><div> .</div><div> This package contains the Python 3 version of mysql.connector.</div><div>Description-md5: 4bca3815f5856ddf4a629b418ec76c8f</div><div>Homepage: <a href="http://dev.mysql.com/doc/connector-python/en/index.html">http://dev.mysql.com/doc/connector-python/en/index.html</a></div><div>Bugs: <a href="https://bugs.launchpad.net/ubuntu/+filebug">https://bugs.launchpad.net/ubuntu/+filebug</a></div><div>Origin: Ubuntu</div></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div style="font-family:arial;font-size:small">Ronald Bradford</div><div style="font-family:arial;font-size:small"><br></div><span style="color:rgb(102,102,102)">Web Site: </span><a style="color:rgb(102,102,102)" href="http://ronaldbradford.com/" target="_blank">http://ronaldbradford.com</a><br style="color:rgb(102,102,102)">














































































































































































































































































































<span style="color:rgb(102,102,102)">LinkedIn: </span><a style="color:rgb(102,102,102)" href="http://www.linkedin.com/in/ronaldbradford" target="_blank">http://www.linkedin.com/in/ronaldbradford</a><br><span style="color:rgb(102,102,102)">Twitter:     </span><a style="color:rgb(102,102,102)" href="http://twitter.com/ronaldbradford" target="_blank">@RonaldBradford</a><br>





















<span style="color:rgb(102,102,102)">Skype:     RonaldBradford</span><div><span style="color:rgb(102,102,102)">GTalk:      Ronald.Bradford<br></span><div><span style="color:rgb(102,102,102)"><br></span><br></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, May 7, 2015 at 9:39 PM, Mike Bayer <span dir="ltr"><<a href="mailto:mbayer@redhat.com" target="_blank">mbayer@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 5/7/15 5:32 PM, Thomas Goirand wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If there are really fixes and features we<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
need in Py2K then of course we have to either convince MySQLdb to merge<br>
them or switch to mysqlclient.<br>
</blockquote>
<br>
Given the "no reply in 6 months" I think that's enough to say it: mysql-python is a dangerous package with a non-responsive upstream. That's always bad, and IMO, enough to try to get rid of it. If you think switching to PyMYSQL is effortless, and the best way forward, then let's do that ASAP!<br>
</blockquote>
<br></span>
haha - id rather have drop eventlet + mysqlclient :)<br>
<br>
as far as this thread, where this has been heading is that django has already been recommending mysqlclient and it's become apparent just what a barrage of emails and messages have been sent Andy Dustman's way, with no response.    I agree this is troubling behavior, and I've alerted people at RH internal that we need to start thinking about this package switch.    My original issue was that for Fedora etc., changing it in this way is challenging, and from my discussions with packaging people, this is actually correct - this isn't an easy way to do it for them and there have been many emails as a result.  My other issue is the SQLAlchemy testing issue - I'd essentially have to just stop testing mysql-python and switch to mysqlclient entirely, which means i need to revise all my docs and get all my users to switch also when the SQLAlchemy MySQLdb dialect eventually diverges from mysql-python 1.2.5, hence the whole thing is in a not-minor-enough way my problem as well.    A simple module name change for mysqlclient, then there's no problem.   But there you go - assuming continued crickets from AD, and seeing that people continue find it important to appease projects like Trac that IMO quite amateurishly hardcode "import MySQLdb", I don't see much other option.<div class="HOEnZb"><div class="h5"><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>