text: let mysql = require('mysql')
  
  let pool = mysql.createPool({
      host: process.env.PROJECT_MYSQL_ADDR || '127.0.0.1',
      user: process.env.PROJECT_MYSQL_USER || 'root',
      password: process.env.PROJECT_MYSQL_PWD || 'password',
      database: process.env.PROJECT_MYSQL_DATABASE || 'database',
      charset: process.env.PROJECT_MYSQL_CHARSET || "utf8mb4",
      port: process.env.PROJECT_MYSQL_PORT || 3306
    }
  )
  
  function getPool() {
    return pool
  }
  
  module.exports = {
    getPool
  }
  