Hello,
I am trying to get a console application compiled with .NET 2.0 that uses the MySql Connector/NET to work correctly. I have tried 5.0.8.1 and 1.0.10.1 of the connector and installed them in the GAC on a Solaris 10 box running Mono 1.2.4_4. The console application I am running is just a test console app to make sure I can connect to the database so all it does is call MySqlConnection.Open passing the following connection string:

Server=mission.mercurymags.com;Database=fulfilment;User ID=kbrannigan;Password=Artemis03080926;Connection Timeout=30;Protocol=socket;Port=3306;Pooling=false;

I have also tried localhost and 127.0.0.1 for the server. I have also tried tcp as the protocol. The following is the error message I receive:

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.MySqlConnectionString settings) [0x00000]
  at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000]

I am able to connect to the server remotely from the same console application on my windows xp box. Any help you can provide to get this resolved would be great!!!

Thanks,
Ken

Kenneth H. Brannigan
CTO

Vitruvian Solutions®, LLC
Mobile: 201.602.6542
E-mail: [EMAIL PROTECTED]
Web: www.vitruviansolutions.com

The contents of this e-mail are privileged and confidential. This e- mail is intended to be read only by the individual(s) or entity to whom it is addressed. If you are not the intended recipient of this e- mail, please notify the sender and delete the e-mail. Any review, retransmission, dissemination, copying or other use of this e-mail or its contents is strictly prohibited.





_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to