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


Groups > comp.lang.python > #59948

Re: Cannot connect to Mysql database

References <77a212a3-d33c-4df0-a73d-eb1753e17227@googlegroups.com> <CAPTjJmpOBpQGLSZqQYvo_z5f5RsUX97vWv6=nj45mabrQ5KnDg@mail.gmail.com>
Date 2013-11-19 17:13 +1100
Subject Re: Cannot connect to Mysql database
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2884.1384841590.18130.python-list@python.org> (permalink)

Show all headers | 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