Re: MySqlException: Unable to connect to any of the specified MySQL hosts
Posted by: Prashanth Raju
Date: July 17, 2005 09:58AM

I had the same problem using the .Net connector. Turns out that MySQL default installed itself on port 3308 and not 3306. However if the port is unspecified, the MySQLConnection class by default looks for 3306. Just add a "port=3308" to the connection string and it works fine. There's no need to use the ODBC driver.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySqlException: Unable to connect to any of the specified MySQL hosts
July 17, 2005 09:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.