Laravel - lumen introduces a third-party package to connect to Oracle, but the configuration file to connect to Oracle does not take effect, and it still connects to MySQL by default. What should I do?
为情所困
为情所困 2017-06-06 09:54:40
0
1
1042

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.

为情所困
为情所困

reply all(1)
巴扎黑

php artisan config:clear try it

Also remember to modify your database.php configuration file and specify the default connection as oracle

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template