Python, mySQL and password

Igor Korot ikorot01 at gmail.com
Mon Dec 16 11:55:29 CET 2013


Hi, ALL,
Is there a way to make python script that connects to mySQL DB ask for
a password on the:

conn = mdb.connect(host, user)

line.
The host variable is "localhost" and the user variable is "root" (for
developmental purposes).

Thank you.



More information about the Python-list mailing list