![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node
啥也不会的程序辕
这个作者很懒,什么都没留下…
展开
-
node 遍历文件是否存在数据
node 遍历文件是否存在数据原创 2022-06-17 17:03:53 · 138 阅读 · 1 评论 -
Node+Mysql 连接池
node连接mysql 防止自动断开 (连接池) 创建一个db文件夹里面有一个db.js const mysql = require('mysql'); // 创建连接数据库 let connection = mysql.createPool({ host: '数据库地址', user: '数据库名', password: '密码', database: '库名' }); module.export原创 2020-11-10 15:21:16 · 90 阅读 · 0 评论