SSL support broken, despite SSL support in command line mysql client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mysqldb (Debian) |
Fix Released
|
Unknown
|
|||
python-mysqldb (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Precise |
Fix Released
|
High
|
Brian Murray |
Bug Description
With python-mysqldb 1.2.3-1build1 in Ubuntu "precise", when connecting with SSL enabled, mysqldb fails due to missing support:
File "/usr/lib/
return Connection(*args, **kwargs)
File "/usr/lib/
super(
_mysql_
Here's a test script:
#! /usr/bin/python
import MySQLdb
ssl = { 'key': 'key.pem', 'cert': 'cert.pm', 'ca': 'ca.pem', }
self.mysqlconne
There is some rumour of a change in the output of mysql_config, which no longer says -lssl -lcrypto and -DHAVE_OPENSSL:
$ mysql_config
Usage: /usr/bin/
Options:
--cflags [-I/usr/
--include [-I/usr/
--libs [-L/usr/
--libs_r [-L/usr/
--plugindir [/usr/lib/
--socket [/var/run/
--port [0]
--version [5.5.24]
Suddenly SSL based mysql connections that worked are busted. This is possibly part of a larger conspiracy to make SSL suck even more than it already does :-)
tags: | added: precise |
Changed in python-mysqldb (Debian): | |
status: | Unknown → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.