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. Advertising

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,316
    hellrazor
    May 19, 2004
  2. Python_it

    Python, Mysql, insert NULL

    Python_it, Oct 5, 2005, in forum: Python
    Replies:
    10
    Views:
    1,778
    Thomas Bartkus
    Oct 6, 2005
  3. Yaron Butterfield

    Re: Python, Mysql, insert NULL

    Yaron Butterfield, May 18, 2006, in forum: Python
    Replies:
    0
    Views:
    390
    Yaron Butterfield
    May 18, 2006
  4. Igor Korot

    Insert NULL into mySQL datetime

    Igor Korot, Dec 25, 2013, in forum: Python
    Replies:
    3
    Views:
    152
    Jussi Piitulainen
    Dec 26, 2013
  5. Peter Otten

    Re: Insert NULL into mySQL datetime

    Peter Otten, Dec 25, 2013, in forum: Python
    Replies:
    0
    Views:
    70
    Peter Otten
    Dec 25, 2013
Loading...

Share This Page