Adam Chainz 63a72f5861 connections.py use int not atoi
`atoi` is deprecated since python 2.0 and not in python 3. I guess this code is not being run since `_mysql.c` looks like it always defines `warning_count` anyway, but it should not sit around being python-3-incompatible.
2015-04-28 17:08:07 +01:00
2015-01-29 15:55:27 +09:00
2015-04-28 17:08:07 +01:00
2014-07-03 21:05:39 +09:00
2015-04-09 03:33:33 +09:00
2015-04-09 03:33:33 +09:00
2014-04-17 10:17:39 -07:00
2015-01-05 14:49:13 +09:00
2012-10-04 13:34:39 -04:00
2015-02-25 11:42:06 +09:00
2014-04-18 22:59:30 +09:00
2015-03-17 16:42:49 +00:00
2015-03-10 21:45:57 +09:00
2012-10-04 13:34:39 -04:00
2014-04-28 15:37:25 +09:00
2014-04-28 15:37:25 +09:00
2013-06-23 18:16:17 -04:00
2014-04-28 14:36:02 +09:00
2014-11-05 11:43:32 -05:00

mysqlclient

Build Status

This is a fork of MySQLdb1.

This project adds Python 3 support and bug fixes. I hope this fork is merged back to MySQLdb1 like distribute was merged back to setuptools.

Install

Prerequisites

You may need to install the Python and MySQL development headers and libraries like so:

sudo apt-get install python-dev libmysqlclient-dev # Debian / Ubuntu

sudo yum install python-devel mysql-devel # Red Hat / CentOS

On Windows, there are binary wheel you can install without MySQLConnector/C or MSVC.

Install from PyPI

pip install mysqlclient

NOTE: Wheels for Windows may be not released with source package. You should pin version in your requirements.txt to avoid trying install source newest pacakge.

Install from source

  1. Download source by git clone or zipfile.
  2. Customize site.cfg
  3. python setup.py install
Description
MySQL/MariaDB connector for Python
Readme GPL-2.0 2.9 MiB
Languages
Python 64%
C 35.9%
Makefile 0.1%