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 my particular case. This is my code: connection = MySQLdb.connect (db = "netlogin", user="netadmin", pass = "r4nas", port="3308") I appreciate if you give me assistance in the proper sintax of the last mentioned instruction. Regards, GatoLinux.
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
