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 3306. 'Root' is the only user. I have tried to connect by omitting the port argument.I have tried by removing the password also. And I do take care to start an instance of the server before trying to connect to it. But I keep getting the same error message. I hope someone can enlighten me Regards Mondal -- http://mail.python.org/mailman/listinfo/python-list