views:

74

answers:

1

Hi,

I'm using mysql database for my site, i want to use mysql pooling.

How do I implement mysql pooling on c# environment ?

i"m using the connection string like this example :

User ID=root;Password=myPassword;Host=localhost;Port=3306;Database=myDataBase; Direct=true;Protocol=TCP;Compress=false;Pooling=true;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;

Thanks !

+2  A: 

You have to add pooling=True to the connection string

Svetlozar Angelov
is it enough only to add popling = true to the connection string?
avnic
pooling, not popling ;-)
ck
it is not working i change my connection string , i think i need to implement it on the c# code too , i"m getting execeptions errors on the open connection and the close
avnic