在package.json文件中配置数据库的连接地址和数据库名。配置方法如下:
package.json文件:
{
...
"db": {
"url": "localhost",
"port": "3306",
"user": "root",
"password": "ykt",
"database": "demo"
},
...
}
zxy6173/ykt-mysql
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
mysql连接驱动
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published