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


Groups > comp.lang.python > #59948

Re: Cannot connect to Mysql database

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'release,': 0.09; 'try:': 0.09; 'times,': 0.14; 'constants.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'helps.': 0.16; 'wrote:': 0.18; 'import': 0.22; 'package.': 0.24; 'source': 0.25; 'possibly': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'maybe': 0.34; 'received:google.com': 0.35; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cc6a1IJDv3+AiQU9LhZOs6KSSD7JMlC1YqRGd6lUeBg=; b=RMmtXJAnC/coHHHzTVdqlbPjJTFOFXecG9w+V6JDFd5UlZ9ZPUrIDdLjDRVy3YHquk xVhuHnrodTJNjDaZSJvcJs6cDy8NSrWFoWC98AYZgZJxUkXXPgF7fi1RBqceB2NB8/2G X3J4mQNXPs03fflcCvYarnnaqbf9gncOvZq5GZw0qsAvtsT7QBJqdK7vbRgn3Cv2/W0h G2LYZg42i/uy9ZDmhpcsBH1TJKpcX8RfRyZMUcFr9qEh9Ezby6ej2DX05rJ09FQuScas TmM4vzRHWwqohv0EmdtvQh/+6Sw4iSXXryAxjO3IenotHj98fubER6kA2yp94H76MtNx o9RA==
MIME-Version 1.0
X-Received by 10.68.143.231 with SMTP id sh7mr24759164pbb.35.1384841580672; Mon, 18 Nov 2013 22:13:00 -0800 (PST)
In-Reply-To <CAPTjJmpOBpQGLSZqQYvo_z5f5RsUX97vWv6=nj45mabrQ5KnDg@mail.gmail.com>
References <77a212a3-d33c-4df0-a73d-eb1753e17227@googlegroups.com> <CAPTjJmpOBpQGLSZqQYvo_z5f5RsUX97vWv6=nj45mabrQ5KnDg@mail.gmail.com>
Date Tue, 19 Nov 2013 17:13:00 +1100
Subject Re: Cannot connect to Mysql database
From Chris Angelico <rosuav@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.2884.1384841590.18130.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384841590 news.xs4all.nl 15970 [2001:888:2000:d::a6]:43023
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59948

Show key headers only | View raw


On Tue, Nov 19, 2013 at 5:10 PM, Chris Angelico <rosuav@gmail.com> wrote:
> For a guess, I would try:
>
> import MySQLdb.connections
>
> above your chroot, and see if that helps.

And possibly also converters, cursors, release, times, and maybe
constants. I just peeked at the MySQLdb source code to see what's in
the package.

ChrisA

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


Thread

Cannot connect to Mysql database Himanshu Garg <hgarg.india@gmail.com> - 2013-11-18 22:03 -0800
  Re: Cannot connect to Mysql database Chris Angelico <rosuav@gmail.com> - 2013-11-19 17:10 +1100
  Re: Cannot connect to Mysql database Chris Angelico <rosuav@gmail.com> - 2013-11-19 17:13 +1100
  Re: Cannot connect to Mysql database Himanshu Garg <hgarg.india@gmail.com> - 2013-11-18 22:26 -0800
    Re: Cannot connect to Mysql database Chris Angelico <rosuav@gmail.com> - 2013-11-19 17:31 +1100

csiph-web