[Mono-list] Pooling=false in connectionString cause Unhandled Exception: System.EntryPointNotFoundException: CreateSemaphore

Robert Jordan robertj at gmx.net
Sun Aug 26 16:02:39 EDT 2007


enzo wrote:
> Using a simpe program ( the code is reported at the botom ) which simply 
> connect to a mysql database a perform a simple select works well if the 
> option Pooling in the connectionString is false
> If i set it to true ( as string connectionString = 
> "Server=localhost;Database=test;User 
> ID=test;Password=test;Pooling=true"; ) I got an unhandled exception like 
> this
> 
> $ mono test1-mysql.exe
> 
> Unhandled Exception: System.EntryPointNotFoundException: CreateSemaphore
>   at (wrapper managed-to-native) 
> MySql.Data.Common.Semaphore:CreateSemaphore 

It seems that you're using the Windows version of the mysql
client. Pity, in the past the versions were compatible.

Try to get a version compiled for Mono.

Robert



More information about the Mono-list mailing list