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


Groups > comp.lang.python > #62041

Python, mySQL and password

Date 2013-12-16 02:55 -0800
Subject Python, mySQL and password
From Igor Korot <ikorot01@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4199.1387191337.18130.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web