会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
秃头的铲屎官
CnBlogs
Home
New Post
Contact
Admin
Subscription
随笔分类 -
node.js
使用 node.js 连接MySQL 数据库, 编写一个简单的列表查询的接口(API);
摘要:let mysql = require('mysql'); let express = require('express'); let app = express(); let connection = mysql.createConnection({ host:"localhost", user:
阅读全文
posted @
2020-06-08 11:15
秃头的铲屎官
阅读(956)
评论(0)
推荐(0)
公告