Mysql-databaseython 3.4.0 with MySQL database

Source: Internet
Author: User
Tags python mysql

phttp://shttp://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-databasetackoverflow.com/ Questions/23376103/python-3-4-0-with-mysql-databaseython 3.4.0 with MySQL database
Up vote20down votefavorite7

I have the installed Python version 3.4.0 and I would like to does a project with MySQL database. I downloaded and tried installing MySQLdb, but it wasn ' t successful for this version of Python. Any suggestions how could I fix this problem and install it properly?

Python mysql python-3.x mysql-python python-3.4
Share|improve this question Edited Jul at 2:43 Cristian ciupitu 9,599 3         asked apr "at 22:01         srdjan Ristic          196 1312         
Add a Comment |
9 Answers9            active                      oldest                      votes
Up vote28down voteaccepted

MYSQLDB does isn't support Python 3 but it's not the only MySQL driver for Python.

Mysqlclient is essentially just a fork of the MYSQLDB with Python 3 support merged in (and a few other improvements).

Pymysql is a pure Python MySQL driver, which means it was slower, but it does not require a compiled C component or MySQL l Ibraries and header files to is installed on client machines. It has Python 3 support.

Mysql-databaseython 3.4.0 with MySQL database

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.