我是 laravel 的新手,我想先迁移表我更改了 .env 信息(数据库名称、密码、用户名),然后创建了模型并编写了属性,但是当我编写命令 php artisan migrate 时,表没有出现在我的 phpmyadmin 数据库中,出现以下错误:
SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'forge'
(SQL: select * from information_schema.tables where table_schema = forge and
table_name = migrations and table_type = 'BASE TABLE') catch (Exception $e) {
> 664| throw new QueryException( 665| $query, $this->prepareBindings($bindings),
$e 666| ); 667| } ...
MYYA
翻翻过去那场雪
慕斯王