I have to use Laravel 5.7 with Oracle Cloud Database.
I actually have no idea how to do that. I have searched a lot but all instructions that I found are about connecting Laravel with local Oracle Database.
I have already created a database instance on Oracle Cloud and have no idea how to use instance's information in the cloud to make the connection.
Please, I need to know how to connect Laravel 5.7 with Oracle DB.
Thanks
Laravel does not officialy supports Oracle databases, but you can use a third party driver. Take a look on https://github.com/yajra/laravel-oci8
Related
In my company we are evaluating the use of Airflow mainly to run ML model.
In the documentation they suggest to use Postgres or MySQL, but we prefer to stick with our tools, in this particular scenario we'd like to give to Airflow a dedicated schema in Oracle Database Enteprise Edition 19.
Is it possible to have oracle as a backend db? Are there any drawback?
It seams that Oracle is not supported as a backend for Airflow corresponding to the Jira ticket: AIRFLOW-3994
From this link, it seems that you can use Oracle with airflow.
Airflow can run with any DB supported by SqlAlchemy. For example:
PostgreSQL
MySQL
SQLite
Oracle
Microsoft SQL Server
List of supported dialects: https://docs.sqlalchemy.org/en/13/dialects/
Although from my experience I recommend using Postgres from my experience and for performance reasons.
I'm trying to extend an existing Apex app: connection to another database is required. Would it be possible?
Or at least start Apex on one database and connect to another.
This is for Oracle 12c and Apex 5.2
Database link is the best option if you want to access directly to the other database using queries, but if you want to get the information in JSON from one or two tables you can use ORDS to public a web service.
We are in the process of upgrading an application running on Oracle 10g and oracle HTTP server to Oracle 12C.
Due to mod pl/sql being deprecated we have chosen following combination.
oracle 12c + ORDS 3.0 and tomcat. (we are not using APEX)
A major functionality of our application is uploading files via website to the documents table in the database schema.
While doing that we are getting error "500 Internal Server Error" which has been experienced by others on this link https://community.oracle.com/thread/3891751
If anyone has got a sucessfull file upload into Documents table via Oracle Rest Data Services config I would like to know.
As far as I could prove, it is not possible to upload files with ORDS without having APEX installed. You will have to install APEX even if you do not use it in your application.
You can try another gateway but most are deprecated, I have started to develop one in Java without APEX dependencies. When I have it ready I will publish it in github.
You might want to have a look at the latest ORDS release as explained my own question related to this topic:
File uploads in a non-Apex PL/SQL application migrated to ORDS
Thanks in advance. i am trying to connect to another db(second database which is configured in database config file) but when i try to connect it using.
$this->db = $this->load->database('db2',true);
but it is querying the default database. grocery_crud does not provide any function set database. i am clueless at the moment that how to fix it.
I have got a workspace in apex.oracle.com , Now , I want to connect to that database through JDBC from ubuntu-14.04 machine. please explain the steps , From where should I download the drivers and what should be the arguments in
DriverManager.getConnection();
step by step please. Thank you
You will not be able to connect to the database that's supporting the APEX instance on apex.oracle.com. If you are hosting your own instance, it's no different than connecting to any other Oracle database.A quick code snippet can be found here: http://www.java2s.com/Code/Java/Database-SQL-JDBC/TestOracleJDBCDriverInstallation.htm. You will need a password for the user/schema that you wish to connect to. If you don't have one, then talk to your DBA.
BTW, please remember that no production-type application and data should be used on the public APEX instance.
Maybe your problem is (or was) that you cannot connect via JDBC using the users you administered in your APEX workspace.
It seems to me that APEX users are not regular users for DB connections via JDBC. If my assumption is right, then you need to create database user with sufficient privileges to access the workspace tables.