Created by MySQL RE and last modified

*** NOTE ***
As of August 2014 we are no longer publishing Connector/Python on Launchpad. Starting with 2.0, publishing is done on GitHub.
Please see https://github.com/mysql/mysql-connector-python
*** END NOTE ***

Get this branch:
bzr branch lp:myconnpy/1.1
Members of Oracle/MySQL Engineering can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Oracle/MySQL Engineering
MySQL Connector/Python

Recent revisions

451. By Peeyush Gupta <email address hidden>

BUG#18422727: Removed GPL license in the commercial deb package

Commercial deb package of Connector/Python was containing a
copyright file containing GPL license. This patch updates
the copyright file of commercial deb package with commercial

450. By Geert JM Vanderkelen

BUG#18465605: Fixed testing using relative server folder

This patch completes previous patch as some changes were
missing after commit. We also fixed a problem for older
MySQL 5.0/5.1 releases, adding 'english' to the --language

449. By Geert JM Vanderkelen

Preparing release 1.1.7

448. By Geert JM Vanderkelen

BUG#18465605: Fixed testing using relative server folder

This patch fixes a few problems with unit testing using
certain command line arguments of unittests.py.

It was not possible to use --mysql-topdir using a relative
directory. We now make sure when a relative folder is
provided, it is first made absolute.

Another problem was fixed when the MySQL server was installed
in a location such as /usr. The language files and
script to bootstrap the database could not be found. We
now try to figure out where they are located using the
help output of mysqld. If we fail, we report an error
suggesting to use the new option --with-mysql-share.

We improved the detection of 'too long' Unix socket files.
For the MySQL server, a socket file can not be longer than
103 characters. We now report this error and suggest to
use the --unix-socket option to point to a location where
to create the Unix socket files.

447. By Geert JM Vanderkelen

BUG#18465031: Fixed Python v3 tests on Windows

There was a problem with checking the Windows tasks
list in Python v3. The name of the process was still
bytes and was not decoded.

We also fixed unit test case BugOra17022399 to check for
Windows socket error 10038.

The connection timeout for tests has been increased to
10 seconds. The --install-lib argument when installing
the connector for testing has been set the '.' instead
of the empty string to work better for the Windows

446. By Geert JM Vanderkelen

BUG#18380100: Fix introspection for Django and Python v3

The introspecting to get the primary key of MySQL tables
was still using iteritems(). This means that this could
would have failed with Python v3. We now use items(), which
should be fine for both v2 and 3 as the dictionaries used
will be small.

Added unittests for the django.introspection backend and
addressed a few other possible issues.

Unit tests for Django can be run using the --with-django
argument pointing to the Django source, for example:

 shell> python --with-django=/opt/django/1.6

We also fixed a few deprecation warnings for the unit
tests and tests themselves improved with using a
dedicated build for testing.

445. By Peeyush Gupta <email address hidden>

BUG#18144971: Error with unicode arguments in prepared statements

Using unicode arguments in Python v2 and bytes arguments in
Python v3 were causing errors, also the symbols of character set
other than 'utf8' or 'ascii' used in prepared statement arguments
were causing errors. This patch fixes method
protocol.make_stmt_execute() and adds a new parameter called

A testcase for BUG#18144971 has beed added.

444. By Geert JM Vanderkelen

Merge v1.1.6

443. By Geert JM Vanderkelen

Merge v1.1.5

442. By Geert JM Vanderkelen

Merge v1.1.4

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.