Hey sorry but i have to relive this thread.
I've implemented the oci Extension, and i can connect to the database.
but i can't do anything with the database :-(
on every query i get table or view not found.
I did the following
php artisan tinker
>>> $test = app\test->where('status', 110)->Count();
and get the ORA-00942 Error.
I wrote the same statement inside the sqlDevelopper:
SELECT COUNT(*) from tests where status = 110;
And get a result.
My databasefile contains:
'oracle' => array(
'driver' => 'oracle',
'host' => 'localhost',
'port' => '1521',
'database' => 'xe',
'username' => 'user',
'password' => 'pass',
'charset' => 'AL32UTF8',
'prefix' => '',
)
i've tried to write a quick test to proof that it isn't a laravel Problem in php:
<?php
$conn = oci_connect("user", "pass", "localhost/xe");
$stdi = oci_parse($conn, "SELECT COUNT(*) FROM tests WHERE STATUS =110");
echo oci_execute($stdi);
it seems like i have the wrong "database" but as i know oralce doesn't work with seperate databases like MySQL.
I run Oracle Express 11.
Thanks