いつの間にかmysqlのデータが破損して動かなかった
めちゃ萎えました
Localhostを開くと
General error: 1812 Tablespace is missing for table
的なエラーで表示されない!!
とりあえず開きたいDBが破損していたので
破損しているものをDrop(GUIでドロップしたのでコマンドはわかりません。)
そして
php artisan migrate
すると、さらなるエラーが
Base table or view already exists:
既にテーブルありまっせ的なエラー
いやないやんけと思いながらググると
php artisan migrate:refresh
で解消と書かれているのでやってみるとまたエラー
そこでこの記事に出会いました
https://qiita.com/nozomi_nozomi/items/e355d8067d32603318b9
tinkerを使ってDBのテーブルを検索、削除しています、、、
でやり直したいテーブルまでロールバックして、
とどめの
php artisan migrate
seederのデータも消えているので再度seedします
よかったです。
ありがとうございました。