1.先下载mysql
2.在目录中下载mysql包
命令:npm install mysql
3.mysql操作代码
3..1引入模块
3.2填写信息
3.3连接connection.connect();
3.4进行什么样的操作
3.5关闭connection.end();
评论()