Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65667

Re: Why use _mysql module and not use MySQLdb directly?

Newsgroups comp.lang.python
Date 2014-02-08 03:09 -0800
References <f3632548-db57-4357-8d01-03807861d851@googlegroups.com>
Message-ID <429f41e0-7fe8-4792-82f2-e438917a3add@googlegroups.com> (permalink)
Subject Re: Why use _mysql module and not use MySQLdb directly?
From Asaf Las <roegltd@gmail.com>

Show all headers | View raw


On Saturday, February 8, 2014 10:52:36 AM UTC+2, Sam wrote:
> I am writing my first python script to access MySQL database. 
> With reference to http://mysql-python.sourceforge.net/MySQLdb.html#connection-objects
> Why is it advisable to use _mysql and not MySQLdb module directly?

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?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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