Top "Mysql-python" questions

Use this tag for questions about the MySQL-Python database connector library (MySQLdb).

Mock a MySQL database in Python

I use Python 3.4 from the Anaconda distribution. Within this distribution, I found the pymysql library to connect to an existing …

python mysql sqlite mysql-python pymysql
get raw decimal value from mysqldb query

I am executing a mysql query in python using the MySQLdb package. The code looks something like this: c=db.…

python mysql mysql-python
Python MySQL Connector executing second sql statement within cursor loop?

The following logic works with the mysqldb module (see python mysqldb multiple cursors for one connection), but I am getting …

python mysql mysql-python mysql-connector
Issues recovering a .frm file using mysqlfrm

Hopefully someone can help me, I've researched many of the recovery answers on stackoverflow. I did the mistake of copying …

mysql mysql-python recovery file-recovery
Python MySQLdb not inserting data

ubuntu version: 12.10 mysql server version: 5.5.29-0 python version: 2.7 I am trying to use MySQLdb to insert data into my localhost …

python-2.7 mysql-python ubuntu-12.10
mysql-python on mac osx 10.9.2: error: command '/usr/bin/clang' failed with exit status 1

I wanted to port my django app from sqlite to mysql. But when I'm trying to install mysql-python, it gives …

python mysql macos mysql-python
Python's MySQLdb can’t find libmysqlclient.dylib with Homebrewed MySQL

MySQL and Python installed with Homebrew I installed MySQL and Python with Homebrew on OS X 10.10.5 Yosemite. My Python 2.7 is …

python mysql homebrew mysql-python
Why MYSQL IN keyword not considering NULL values

I am using the following query: select count(*) from Table1 where CurrentDateTime>'2012-05-28 15:34:02.403504' and Error not …

mysql mysql-python
Error installing mysql-python: library not found for -lssl

I'm having trouble installing mysql-python. Created a new virtualenv and when installing mysql-python... here's the error message: (env)$ pip install …

pip virtualenv homebrew mysql-python