I have been trying to connect to Oracle Database using the following code:
$di = new \Phalcon\DI\FactoryDefault();
// Set up the database service
$di->set('db', function(){
return new \Phalcon\Db\Adapter\Pdo\Oracle(array(
"dbname" => "localhost/xe",
"username" => "username",
"password" => "password",
));
});
// Bind the DI to the application
$app->setDI($di);
However, I continue to get the following error:
phql Table "robots" doesn't exist on database when dumping meta-data for Robots
Any idea where I might be going wrong? Any help is appreciated. Thanks a lot.