请问怎么配置数据库呢?
womengnan opened this issue · comments
mengnan commented
第四步:
先配置好数据库
$ 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里面配置吗?
Thans commented
看文档。。。 .env 里面