Tagged Questions

1
vote
2answers
63 views

Why is MySQL incrementing the autoincrement, but not inserting rows?

I am using xampp and python with MySQLdb. I am connecting and then running: cursor.execute("INSERT INTO customer SET name='aaa'") No errors are raised, but no rows have been added to the database ...
0
votes
0answers
53 views

MySQLdb error (python + sql) on XAMP

I am trying to query the db from python using MySQLdb bindings. The code is pretty simple. import MySQLdb as sql import sys con = None try: con = sql.connect('localhost','root','','vmf') cur ...
0
votes
2answers
388 views

MySqlDb Install Error: Python 2.6; Mac OS 10.6, XAMPP installed

I recently migrated to the world of Macs. And I'm trying to get my Django apps up and running. However, I'm having hard time in installing MySQLDb connector. I prefer using XAMPP hence dont have ...