Tagged Questions

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

learn more… | top users | synonyms (1)

6
votes
0answers
235 views

MySQLdb for Python 2.7 on OSX 10.8.2 and BOTH are 64 bit

Here's my problem: I can't Get MySQLdb for python working. Most of the other posts regarding this have cited having different architectures of MySQL/Python. I checked, and they're both 64 bit. I have ...
1
vote
0answers
20 views

Tornado MySQLDB SSL Connection

I’m using tornado and connecting to MySQL using MySQLDB. How I can connect to MySQL using SSL?
1
vote
0answers
57 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
39 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
57 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
60 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
61 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
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

Cannot use/import MySQLdb in ipython notebook (works well in ipython qtconsole)

After great trouble with installing MySQLdb (due to incompatibility between 32-bit and 64-bit architectures) I have now run into another curious problem for which I cannot find the solution on the ...
0
votes
0answers
24 views

can't install python-mysql==1.2.3

Trying to setup mysql, django and GAE. Just finished installing mysql on my mac. However when doing sudo easy_install mysql-python==1.2.3 or downloading mysql-python and changing the mysql_config ...
0
votes
0answers
42 views

MySQLdb Python vs Bash mysql client

When I run the following code, it takes a very long period of time. On the other hand if I implement the same in Bash, using command line mysql client, it goes 9 times faster. Is something wrong with ...
0
votes
0answers
14 views

create a single connection with database

I want to create a script which make a connection with database and return the DB connection. On second time it will use the same connection and execute the another query. In such a way i will use the ...
0
votes
0answers
12 views

Legacy Zope dynamic loading error with MySQL

I am in the process of moving an old installation of Zope 2 to a new Mac OS 10.8 Server. Unfortunately, our server requires Python 2.4 to run, so I have installed the MacPorts version. The server ...
0
votes
0answers
28 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 ...
0
votes
0answers
17 views

escaping special characters with mysqldb

I got the following which is supposed to read a config file and connect to a database/J'ai le code suivant qui lit un fichier de configuration en vue de se connecter a une database : class ...

1 2 3 4 5 9
15 30 50 per page