Python, Mysql, insert NULL

Discussion in 'Python' started by Yaron Butterfield, May 18, 2006.

  1. Hi,

    I've been having problems using Python to insert data into a MySQL
    database. I've donw web searches and pulled my hairs out getting it to
    work but cannot. I have no trouble doing select queries, but when I use
    Python to insert, though I do not receive any errors from python, the
    table does not get populated.

    I've just followed the information from here by Steve Holden:
    http://mail.python.org/pipermail/python-list/2005-October/302405.html

    to the tee. No errors and the same output as shown in the above
    example. Yet, there isn't any data in my table.

    Am I missing something so obvious?? Please help! This has frustrated
    me for days now.

    regards,
    Yaron
     
    Yaron Butterfield, May 18, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hellrazor

    MySQL: Insert null values?

    hellrazor, May 19, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    17,682
    hellrazor
    May 19, 2004
  2. Replies:
    5
    Views:
    30,242
    Mike Schilling
    Mar 29, 2006
  3. Dave Ekhaus

    mysql bulk insert from python

    Dave Ekhaus, Oct 20, 2004, in forum: Python
    Replies:
    1
    Views:
    1,353
    Wolfram Kraus
    Oct 21, 2004
  4. Python_it

    Python, Mysql, insert NULL

    Python_it, Oct 5, 2005, in forum: Python
    Replies:
    10
    Views:
    2,134
    Thomas Bartkus
    Oct 6, 2005
  5. Ben
    Replies:
    14
    Views:
    675
    Tim Roberts
    Dec 30, 2006
  6. Jeffrey H. Coffield
    Replies:
    1
    Views:
    2,437
  7. MacRules
    Replies:
    0
    Views:
    883
    MacRules
    Aug 22, 2009
  8. Igor Korot

    Insert NULL into mySQL datetime

    Igor Korot, Dec 25, 2013, in forum: Python
    Replies:
    3
    Views:
    351
    Jussi Piitulainen
    Dec 26, 2013
Loading...