📅  最后修改于: 2022-03-11 14:53:36.533000             🧑  作者: Mango
I had the same issue. I did var_dump(DB::connection()); and found out that the host value was wrong because a wrong .env file was loaded.