Lumen5.4.6 is used. In order to connect to oracle, the third-party package yajra/laravel-oci8 is introduced and execute $ php artisan vendor:publish --tag=oracle. After generating the configuration file and filling in the configuration information, I still cannot connect to the Oracle database.
巴扎黑2017-06-06 09:56:40
php artisan config:clear
try it
Also remember to modify your database.php configuration file and specify the default connection as oracle