Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62041 > unrolled thread

Python, mySQL and password

Started byIgor Korot <ikorot01@gmail.com>
First post2013-12-16 02:55 -0800
Last post2013-12-16 02:55 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Python, mySQL and password Igor Korot <ikorot01@gmail.com> - 2013-12-16 02:55 -0800

#62041 — Python, mySQL and password

FromIgor Korot <ikorot01@gmail.com>
Date2013-12-16 02:55 -0800
SubjectPython, mySQL and password
Message-ID<mailman.4199.1387191337.18130.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web