Hallo, ik heb een probleem met een scriptje van me. Namelijk ik kan wel verbinden met mijn mysql database, ik kan data uitlezen maar data inlezen gaat niet, is dit een of andere duistere mysql setting? dit is mijn script:
import MySQLdb host = "localhost" user = "root" passwd = "tttttt" dbname = "cofchat" cmd = "INSERT INTO xone (ip,user) VALUES ('200.200.200.200', 'ello')" connection = MySQLdb.connect (host,user,passwd,dbname) cursor = connection.cursor() cursor.execute(cmd) -- View this message in context: http://www.nabble.com/MySQLdb-t1152510.html#a3023203 Sent from the Python - python-nl forum at Nabble.com. _______________________________________________ Python-nl mailing list Python-nl@python.org http://mail.python.org/mailman/listinfo/python-nl