前提実現したいこと
laravelプロジェクトに移動してテーブル作成した後php artisan migrateを実行するとエラーとなっていまいどう解決したらいいか分からずご質問させてください
発生している問題・エラーメッセージ
at C:\Users\n\Desktop\app2\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664 660| // If an exception occurs when attempting to run a query, we'll format the error 661| // message to include the bindings with SQL, which will make this exception a 662| // lot more helpful to the developer instead of just the database's errors. 663| catch (Exception $e) { > 664| throw new QueryException( 665| $query, $this->prepareBindings($bindings), $e 666| ); 667| } 668| Exception trace: C:\Users\n\Desktop\app2\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70 2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=homestead", "homestead", "secret", []) C:\Users\n\Desktop\app2\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70 Please use the argument -v to see more details.
補足情報(FW/ツールのバージョンなど)
https://teratail.com/questions/122336が同じ状況だったのでこちらを参考にしてみます。
OS:windows10
回答2件
あなたの回答
tips
プレビュー