> I'm Tiago, from Brazil, I'm new to this list and, err, I'm getting into
> python.
Hi Tiago,
Welcome aboard!
> I'm very interested on the mysql module, and this thread sounds
> interesting. I've tried pretty much the same code from the original
> code, and I don't need to commit changes. All
Em Sex 17 Fev 2006 13:15, Wolfram Kraus escreveu:
> Wolfram Kraus wrote:
[SNIP]
> Sorry for asking the obvious (Database/Table exists)! You are missing
>
> db.commit()
> db.close()
>
> in your code. IIRC auto-commit was switched of for MySQLdb long time ago.
Hi!
I'm Tiago, from Brazil, I'm new t
Wolfram Kraus wrote:
> Servando Garcia wrote:
>
>>Hello to all
>>I have been trying to insert data into a database using MySQLdb
>>with no success. I have no idea why this script is not working. I took
>>it from a tutorial from DEV Shed.
>>
>>#!/usr/bin/python
>>import MySQLdb
>># connect
>
Servando Garcia wrote:
> Hello to all
> I have been trying to insert data into a database using MySQLdb
> with no success. I have no idea why this script is not working. I took
> it from a tutorial from DEV Shed.
What happens when you try it? "Not working" doesn't give us much to go
on. If
Servando Garcia wrote:
> Hello to all
> I have been trying to insert data into a database using MySQLdb
> with no success. I have no idea why this script is not working. I took
> it from a tutorial from DEV Shed.
>
> #!/usr/bin/python
> import MySQLdb
> # connect
> db = MySQLdb.connect(host
Hello to all
I have been trying to insert data into a database using MySQLdb
with no success. I have no idea why this script is not working. I took
it from a tutorial from DEV Shed.
#!/usr/bin/python
import MySQLdb
# connect
db = MySQLdb.connect(host="localhost", user="root",
passwd="*