Feb 252010
When I try to create datasource for a glassfish server, the default connection size is 128, but I find the default connection size for mysql database is 100, I need to increase it.
Use root user execute the following code: mysql> set GLOBAL max_connections=200;
Then, it works well.