Re: [Tutor] Python & MySQL... Define port.

2009-02-11 Thread wormwood_3
_ From: Network Administrator To: tutor@python.org Sent: Monday, February 9, 2009 1:29:21 PM Subject: [Tutor] Python & MySQL... Define port. Hello everybody! I want to use Python to query a given MySQL database. However, this database is running on port 3308, instead the traditi

[Tutor] Python & MySQL... Define port.

2009-02-09 Thread Network Administrator
Hello everybody! I want to use Python to query a given MySQL database. However, this database is running on port 3308, instead the traditional 3306. I read that (example): MySQLdb.connect(host="dbserv', db='inv', user='smith') can be used to query a given database; however, it didn't work in m