数据库
This commit is contained in:
parent
cbcd2f2ee2
commit
92de056a8e
|
|
@ -25,8 +25,8 @@ const createDatabase = async () => {
|
||||||
// 创建数据库连接 - 使用MySQL
|
// 创建数据库连接 - 使用MySQL
|
||||||
const sequelize = new Sequelize(
|
const sequelize = new Sequelize(
|
||||||
'rentease', // 数据库名称
|
'rentease', // 数据库名称
|
||||||
'root', // 用户名
|
'rentease', // 用户名
|
||||||
'123456', // 密码
|
'Wxx@123!', // 密码
|
||||||
{
|
{
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
dialect: 'mysql',
|
dialect: 'mysql',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue