Laravel dosen't connect with Oracle
PHP Snippet 1:
'oracle' => array(
'driver' => 'oracle',
'tns' => '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.152.189)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))',
//'host' => '192.168.152.189',// this is my server IP
//'port' => '1521',
'database' => '',
'username' => 'ocpl',
'password' => '123456',
'charset' => 'AL32UTF8',
'prefix' => '',
),
PHP Snippet 2:
Select instance_name from v$instance;