Re: MySQLdb Python API: Unable to connect

2005-12-30 Thread Mondal
Hi, First thanks to all of you for helping. It seems there was some error in my instance configuration or something. As a last resort I unistalled MySQL and then reinstalled in another drive. And bingo everything is working fine. I am able to connect through Python API, too. I copied the old da

Re: MySQLdb Python API: Unable to connect

2005-12-28 Thread Mondal
Hi all, Frederik is right. The hyphen in the port number was inserted when i copied and pasted the error message. i used the port number 3306 (three three zero six). I am sorry about this, but i forgot to mention that my os is Windows XP. MySQL is installed on my machine itself. Its using port 33

Re: MySQLdb Python API: Unable to connect

2005-12-27 Thread Fredrik Lundh
Dennis Lee Bieber wrote: > > I don't see anything with 324 in there ? What do you mean ? > > > A direct copy from about ten lines above. > > > >c=MySQLdb.Connect(host='localhost',user='root',passwd='',db='shop',port=330­6) > > 330 minus 6 equals 324 except that the - you're seeing is a soft h

Re: MySQLdb Python API: Unable to connect

2005-12-27 Thread Nicolas Kassis
Dennis Lee Bieber wrote: >On 26 Dec 2005 21:39:11 -0800, "Mondal" <[EMAIL PROTECTED]> declaimed >the following in comp.lang.python: > > > >c=MySQLdb.Connect(host='localhost',user='root',passwd='',db='shop',port=330­6) > > > > So what is that - doing in the port number