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


Groups > comp.lang.python > #62041

Python, mySQL and password

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ikorot01@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:password': 0.05; 'subject:Python': 0.06; 'python': 0.11; 'variable': 0.18; 'all,': 0.19; 'connects': 0.19; 'script': 0.25; '(for': 0.26; 'host': 0.29; 'message-id:@mail.gmail.com': 0.30; 'received:google.com': 0.35; 'there': 0.35; 'hi,': 0.36; 'thank': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'you.': 0.62
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=AopswtMPERxlOKL5kwQAQcQICkdK7Zzbjzg3YpbnTyw=; b=wgcLXxsmIGKGUVMdhT28P6mKtqmx4KjSFjI55FtJdRQV3VBhnZsRU1BoDAOpi1IdLH Y0DAdRK9+2EPIb4tgYoIVxLG9xL0ubqP+P1YcErhM1tDF9Z2+jMP+zOwEVB2EN4OQPZ4 o842MHci376bj3McAxcBFUVo83op9a/5bsgrbjOipv9plZxFEv6HmXZfPQ/QGi5cPjv0 XaezC0NvdW8ceINAAWswMUm63IX+LXWHfl6L02cAFvs9/uLDNU7mIUPGgT+0cL48RZzA CX4afEUVjv9hTyxS0txc5+Sa2g6DHdyKY/kgwGU91J3m33yRYMIg344acfSGhoHYi4wV itUA==
MIME-Version 1.0
X-Received by 10.221.64.17 with SMTP id xg17mr8068191vcb.5.1387191329579; Mon, 16 Dec 2013 02:55:29 -0800 (PST)
Date Mon, 16 Dec 2013 02:55:29 -0800
Subject Python, mySQL and password
From Igor Korot <ikorot01@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4199.1387191337.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387191337 news.xs4all.nl 2867 [2001:888:2000:d::a6]:36541
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62041

Show key headers only | 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