You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varpoolModule=require('generic-pool');varpool=poolModule.Pool({name : 'mysql_pool',create : function(callback){varClient=require('mysql').Client;varc=newClient();c.user='smilee';c.password='123456';c.database='bingota_web_noel';c.connect();// parameter order: err, resource// new in 1.0.6callback(null,c);},destroy : function(client){client.end();},max : 10,// specifies how long a resource can stay idle in pool before being removedidleTimeoutMillis : 30000,// if true, logs via console.log - can also be a functionlog : true});persist.env='dev';
The text was updated successfully, but these errors were encountered:
My implement below, but not work
database.json
The text was updated successfully, but these errors were encountered: