use createPool for mysql when pooling=true in the config