📜  laravel 连接超时 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:36.533000             🧑  作者: Mango

代码示例1
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.