A thread-compatible interface to the popular MySQL database server that provides the Python database API.

learn more… | top users | synonyms (1)

1
vote
0answers
45 views

Django Unknown system variable 'TRANSACTION' on syncdb

My local Django is blowing up running the manage.py syncdb script that runs on our servers. This is the error message I'm seeing when running python manage.py syncdb, OperationalError: (1193, ...
1
vote
0answers
26 views

ImportError: No localization support for language 'eng' in python

i am getting ImportError: No localization support for language 'eng' when using MySQL Connector Python. My Traceback is as below. Traceback (most recent call last): File \"DB_Module.py\", line 151, ...
1
vote
0answers
87 views

MySql child processes are consuming a lot RAM space

I have a problem with RAM consumption on my server. Where at certain hour of day RAM usage increases to critical limit. To check the issue I tried to run htop command and found that most of the RAM ...
1
vote
0answers
254 views

Twitter API getting follower ids for huge number, without getting error

[I am using Python, and ruby gem twurl to request with OAuth.] I am trying to get follower ids from Twitter, for @BarackObama, who has 24,265,751 followers currently. Mathematically, 24,265,751 ...
1
vote
0answers
215 views

How to install both MySQLdb and cx_Oracle on Mountain Lion?

I've been trying for days to get both MySQLdb and cx_Oracle running successfully together on Mountain Lion to no avail. It appears that I can only get one or the other to run but not both. Here are my ...
1
vote
0answers
129 views

Copy unicode data from MSSql to MySql in Python error

I am trying to copy unicode data from MSSql to MySql. Below is the code that I am trying for past few days, but unable to do it successfully. #!/usr/bin/python # -*- coding: utf-8 -*- import MySQLdb ...
1
vote
0answers
140 views

install MySQLdb to run in Pydev on Mac OS X 10.8

I had been stuck in some incompatible conflicts while trying to install mysql-python in Mac OS X 10.8 for a few days. After looking at some forums I found the solution to force Python run in 32 bit ...
1
vote
0answers
125 views

How to connect MAMP based MYSQL in Python?

I recently upgraded Python on my Macbook to 2.7 via Macport and eventually I had to upgrade MySQL driver too. I tried to install it via Macport but that guy installed another copy of MySQL server too. ...
1
vote
0answers
125 views

Improve multithreading with network IO and database queries

I'm writing a script that: fetch a list of urls from a db (about 10000 urls) download all the pages and insert them into the db parse the code if(some condition) do other inserts into the db I ...
1
vote
0answers
425 views

Python - SSH Tunnel Setup and MySQL DB Access

I am trying to connect to my server from my local(windows) and access the MySQL DB With the below code setting up the SSH tunnel through putty, I am not able to access the MySQL DB. con = None con ...
1
vote
0answers
85 views

DB-API Type_Codes for Google Cloud Sql: Different from MySQLdb?

I'm finding that the type_codes returned by cursor.description from DB-API are different for Google Cloud SQL than a standard MySQLdb implementation. For example: in MySQLdb (mysqldb-python), ...
1
vote
0answers
615 views

WSGI: _mysql.so Image not found

Environment: MacBook Pro, OSX 10.6, Python 2.6.1 64 bit, MySQL 5.X 64 bit I am having problems installing MySQLdb for use with Django. After installing everything I am able to open the python ...
1
vote
0answers
2k views

Using MySQL in Pydev Eclipse

I am trying to access a MySQL database with python through Pydev Eclipse. I have installed the necessary files to access MysQL from python and I can access the database only when I write code in ...
0
votes
0answers
13 views

Hook available for automatic retry after deadlock in django and mysql setup

I am using innoDB table in Django with mysql database. During investigation of error OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction') I came across ...
0
votes
0answers
31 views

No LOAD DATA support in stored procedures in MySQL?

Actually I am trying to LOAD DATA in MySQL stored procedure but I am getting MySQL Database Error: LOAD DATA is not allowed in stored procedures. My Syntax is:- DELIMITER // CREATE PROCEDURE ...

1 2 3 4 5 12
15 30 50 per page