QThans / layui-admin

基于layui和thinkphp6.0的快速后台开发框架。快速构建完善的管理后台,内置表单、表格的php生成,以及完善的RBAC权限管理。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问怎么配置数据库呢?

womengnan opened this issue · comments

第四步:

先配置好数据库

$ php think migrate:run

提示:

[InvalidArgumentException]
There was a problem connecting to the database: SQLSTATE[HY000] [1045] Acce
ss denied for user 'username'@'localhost' (using password: YES)

是在tp/config/database.php里面配置吗?

commented

看文档。。。 .env 里面