Re: MySqlException: Unable to connect to any of the specified MySQL hosts
Posted by: Kenneth Brady
Date: December 20, 2006 07:22PM

I've read through all of these posts, and still cannot solve my simplest of problems. I cannot EVER connect to my local mysql (5.1) via .NET connector, even though ODBC and cmd-line utilities work great. Connection string is:

"server=localhost; uid=root; pwd=***; database=addresses;"

Error is "{"Unable to connect to any of the specified MySQL hosts"}"

Port is default (3306); same connstr works with odbc (after adding driver).

A previous post suggested uninstalling ODBC driver, but not know why that helps, I'm hesitant since that is currently my only programmatic access to the mysql databases.

What the heck does this error message mean, anyway? I only specified one host (can one specify multiple hosts??).

Thanks -

ken brady / home hacker

Options: ReplyQuote


Subject
Written By
Posted
Re: MySqlException: Unable to connect to any of the specified MySQL hosts
December 20, 2006 07:22PM


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.