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