MySQLdb Python API: Unable to connect

Fredrik Lundh fredrik at pythonware.com
Tue Dec 27 13:10:34 EST 2005


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 hyphen, so most people won't
see it...

here's an excerpt from the message source:

> >>> c=3DMySQLdb.Connect(host=3D'localhost',user=3D'root',passwd=3D'',db=
=3D'shop',port=3D330=AD6)

=3D is an equal sign
=AD is a soft hyphen

</F>






More information about the Python-list mailing list