Two Methods for connecting MySQL to Python

Source: Internet
Author: User
(I) mysqldb

This is a third-party driver that provides MySQL support for python.
Complies with the python dB API 2.0 standard
Official Website: http://sourceforge.net/projects/mysql-python/

(Ii) MySQL connector/Python

It is built on the MySQL server layer, supported by Oracle, and provides Python APIs.
It is fully implemented by Python and has no dependency on any third-party library except the python standard library.
MySQL connector/Python 1.1 supports Python 2.6, 2.7, 3.1, and later versions
MySQL connector/Python 1.0 supports Python 2.4 ~ 2.7, 3.1 and later versions
Note: MySQL connector/Python does not support MySQL 4.1 or earlier versions.
Official Website: http://dev.mysql.com/doc/refman/5.5/en/connector-python.html


Next, I will translate a series of MySQL ctor/Python official documents for myself and interested friends to learn.



By dba_waterbin

2013-07-24

Good luck

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.