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


Groups > comp.lang.python > #59952

Re: Cannot connect to Mysql database

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.101
X-Spam-Level *
X-Spam-Evidence '*H*': 0.85; '*S*': 0.05; 'works.': 0.09; 'did:': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'garg': 0.16; 'wrote:': 0.18; 'import': 0.22; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'thanks!': 0.32; 'received:google.com': 0.35; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'glad': 0.83; 'good!': 0.84; '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=q2IQ7XfAqTgo3dTWvXdl4SFmtDVcR7iJgM2r+4Xon4s=; b=z2zGttuPmpIi3K6MvGNadGd0xub1oEG6XyJgzJh+pG/YCYdYURqQ0FAQ2PGo15iXEV sgcqEAjDS2tAg66qIMVmpPlTcESCqdtcEa1JOidnMuhs6KZPwFmlkP6a5GA85+xrSdtH HlNxN+7+psXFoOLkLsHymGkHwqq795O4moj0mv8ljFE0TzSt6koYqfQHutr9utICD0Wx 5V/UlefLHzDVrbBRv1yWDvozUy/0FXlYhJXI8LsSiXVo9GIeJtOrQxrqbEI4znoVgbbo A/T3NswFx310bo6bH1r1+RkuDjQeCi1USJ553C35Kw7t0Hcto5Z7EaVTQJ3HhQYAP6CY 3R+w==
MIME-Version 1.0
X-Received by 10.68.139.233 with SMTP id rb9mr24722084pbb.29.1384842685698; Mon, 18 Nov 2013 22:31:25 -0800 (PST)
In-Reply-To <877f2a4a-5919-456a-8fa3-eb4b12ae8918@googlegroups.com>
References <77a212a3-d33c-4df0-a73d-eb1753e17227@googlegroups.com> <877f2a4a-5919-456a-8fa3-eb4b12ae8918@googlegroups.com>
Date Tue, 19 Nov 2013 17:31:25 +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.2885.1384842695.18130.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384842695 news.xs4all.nl 15891 [2001:888:2000:d::a6]:52573
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59952

Show key headers only | View raw


On Tue, Nov 19, 2013 at 5:26 PM, Himanshu Garg <hgarg.india@gmail.com> wrote:
> I did:
>
> import MySQLdb as mdb
> from MySQLdb import *
> from MySQLdb.constants import *
>
> and now it works.  Thanks! again

Looks good! Glad it works.

ChrisA

Back to comp.lang.python | Previous | NextPrevious 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