using System; using MySql.Data.MySqlClient; namespace SemaphorePoolTest { class SemaphorePoolTestCase { static void Main(string[] args) { const String ConnectString = "Server=x; Database=x; User ID=x; Password=x; pooling=true;"; using (MySqlConnection con = new MySqlConnection(ConnectString)) { // Exception thrown in Open() under Mono con.Open(); } Console.WriteLine("We get to here on Windows, but not Linux (Mono)"); Console.ReadLine(); } } }