pool.js 217 B

1234567891011
  1. const mysql=require("mysql");
  2. const pool=mysql.createPool({
  3. host:"127.0.0.1",
  4. port:3306,
  5. user:"root",
  6. password:"123456zxc",
  7. database:"annotations",
  8. connectionLimit:15,
  9. dateStrings:true
  10. });
  11. module.exports=pool;