Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65669
| References | <f3632548-db57-4357-8d01-03807861d851@googlegroups.com> <429f41e0-7fe8-4792-82f2-e438917a3add@googlegroups.com> |
|---|---|
| Date | 2014-02-08 22:25 +1100 |
| Subject | Re: Why use _mysql module and not use MySQLdb directly? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6536.1391858718.18130.python-list@python.org> (permalink) |
On Sat, Feb 8, 2014 at 10:09 PM, Asaf Las <roegltd@gmail.com> wrote: > I used this one from Oracle and it was OK for simple test case and > supports from 2.6 till 3.3: > http://dev.mysql.com/doc/connector-python/en/index.html > https://pypi.python.org/pypi/mysql-connector-python/1.1.5 > > > yet there is page to bunch of others but i have never tried them: > https://wiki.python.org/moin/MySQL > > Are there hidden issues about Oracle provided connector? I don't know. The first thing I'd look for is compatibility with the Python Database API. I flipped through the docs without finding anything obvious either direction; it seems to be similar, at least, but it's not declaring that it complies, which I would have thought would be an important boast. Also check for platform availability. If one package is available on Linux, Mac, Windows, and myriad others, and the other is available on only a few platforms, that's a mark in favour of the first. But I suspect that won't be an issue with most of what you'll find. My suspicion, without any proof, is that it's going to come down to a matter of taste, or maybe some tangential features. The core will most likely work just fine with pretty much any module you choose to use. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why use _mysql module and not use MySQLdb directly? Sam <lightaiyee@gmail.com> - 2014-02-08 00:52 -0800
Re: Why use _mysql module and not use MySQLdb directly? Chris Angelico <rosuav@gmail.com> - 2014-02-08 20:00 +1100
Re: Why use _mysql module and not use MySQLdb directly? Asaf Las <roegltd@gmail.com> - 2014-02-08 03:09 -0800
Re: Why use _mysql module and not use MySQLdb directly? Chris Angelico <rosuav@gmail.com> - 2014-02-08 22:25 +1100
Re: Why use _mysql module and not use MySQLdb directly? Asaf Las <roegltd@gmail.com> - 2014-02-08 03:32 -0800
Re: Why use _mysql module and not use MySQLdb directly? Chris Angelico <rosuav@gmail.com> - 2014-02-08 22:42 +1100
Re: Why use _mysql module and not use MySQLdb directly? Asaf Las <roegltd@gmail.com> - 2014-02-08 04:09 -0800
Re: Why use _mysql module and not use MySQLdb directly? Marcel Rodrigues <marcelgmr@gmail.com> - 2014-02-09 08:40 -0200
csiph-web