Top "Mysql-python" questions

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

How to restart mysql server?

Every time I restart MySQL server bitnami@xxx:/$ sudo opt/bitnami/ctlscript.sh start server   WWarning: World-writable config file '/…

mysql amazon-ec2 amazon-web-services mysql-python bitnami
Installing MySQL-python for Django

I've just learned how to use virtualenv and I installed Django 1.4.5. I'm assuming that the virtualenv created a clean slate …

django virtualenv mysql-python
python mysql.connector DictCursor?

In Python mysqldb I could declare a cursor as a dictionary cursor like this: cursor = db.cursor(MySQLdb.cursors.DictCursor) …

python mysql mysql-python mysql-connector-python
"my_config.h" file not found when install mysql-python on osx 10.8

I face this problem when I want to install mysql-python on osx 10.8, it show error with 'my_config.h' file …

mysql-python
Django: how to install mysql/connector python with pip3

I am working on projects based on Django 1.7 and Python 3.4. However, I had problems installing MySQL/Connector Python with pip3. …

mysql-python mysql-connector
How to test database connectivity in python?

I am accessing a MySQL database from python via MySQLdb library. I am attempting to test the database connection as …

python mysql-python
Mysql Can't create/write to file error#13

I had created a Django view which is returning some data after reading from MySql DB.When i try and …

mysql django mysql-error-1064 mysql-python
Database does not update automatically with MySQL and Python

I'm having some trouble updating a row in a MySQL database. Here is the code I'm trying to run: import …

python mysql mysql-python
python: MYSQLdb. how to get columns name without executing select * in a big table?

I want to get the column names of a table, but there a over million data in it. So I …

python mysql mysql-python
Installing MySQL-python causes command 'clang' failed with exit status 1 on Mac OS 10.13.15

I have installed tools via xcode-select --install but still show the following error while doing pip install MySQL-python Building wheels …

python mysql-python