[Mono-list] problem with MySql connector on Mac

JenSor jennifersorge at gmail.com
Fri Jun 13 14:53:42 EDT 2008


Hi, 

I am having a problem connecting to my database using the MySql connector. I
am using the dll that I downloaded form the MySql website for Windows. I
installed it into gac and when I run an application that accesses the
database (for example, the example application on the Mono MySql webpage). I
get the following error message:


Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Unable to
connect to any of the specified MySQL hosts. ---> System.Exception:
Exception of type 'System.Exception' was thrown.
  at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] --- End of inner
exception stack trace ---

  at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] 
  at MySql.Data.MySqlClient.Driver.Create
(MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000] 
  at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000] 

Thanks in advance, 
Jenny.
-- 
View this message in context: http://www.nabble.com/problem-with-MySql-connector-on-Mac-tp17829956p17829956.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list