我在本地开发了laravel应用程序,并上传到共享主机中.
在托管时,我在数据库中更改了mysql的数据库名和用户名.env和config/database文件.
但在远程its中,仍然使用bootstrap/cache/config文件中的旧db名称和用户.
So how to clean the bootstrap/cache/config.php file?
我在本地开发了laravel应用程序,并上传到共享主机中.
在托管时,我在数据库中更改了mysql的数据库名和用户名.env和config/database文件.
但在远程its中,仍然使用bootstrap/cache/config文件中的旧db名称和用户.
So how to clean the bootstrap/cache/config.php file?
Use php artisan cache:clear
to flush the application's cache.