Top "Mysql-python" questions

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

Python MySQLdb issues (TypeError: %d format: a number is required, not str)

I am trying to do the following insert operation: cursor.execute(""" insert into tree (id,parent_id,level,description,code,…

python insertion mysql-python
MySQLdb Python insert %d and %s

Precursor: MySQL Table created via: CREATE TABLE table(Id INT PRIMARY KEY NOT NULL, Param1 VARCHAR(50)) Function: .execute("INSERT INTO …

python mysql mysql-python
Create MySQLdb database using Python script

I'm having troubles with creating a database and tables. The database needs to be created within a Python script. #connect …

python mysql-python
How to use the option skip-name-resolve when using MySQLdb for Python?

I try to connect to database in a domain from my virtual machine. It works on XP, but somehow does …

python mysql mysql-python resolve
What's the difference between MySQLdb, mysqlclient and MySQL connector/Python?

So I've been trying to do some database update with python and while setting up the whole dev environment, I …

python mysql database mysql-python mysql-connector
MySQLdb for Python 2.7 (Ubuntu)

After I installed MySQLdb by sudo apt-get install python-mysqldb I can import and use it when I use Python 2.6, but …

python mysql ubuntu mysql-python
Installing MySQL-python on mac

I am using OSX 10.8 and PyCharm to work on a Python development project. I have installed MySQL-python for the mac …

python macos python-2.7 mysql-python
Print the actual query MySQLdb runs?

I'm looking for a way to debug queries as they are executed and I was wondering if there is a …

python mysql mysql-python
django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured

I want to connect MySQL database to my django project, but it is throwing an error : "django.core.exceptions.ImproperlyConfigured: …

python django mysql-python
Python3 + MySql: Error loading MySQLdb module: No module named 'MySQLdb'

I am new to Python and trying to setup a Django project to work with MySql. I have read through …

python mysql django mysql-python