How to Install Oracle on an M1/M2 Mac (Finally)

Published: 15 May 2024
on channel: Database Star
17,547
358

📝 Get my free SQL Cheat Sheets: https://www.databasestar.com/get-sql-...
🎓 Master SQL Fundamentals: https://databasestar.mykajabi.com/sql...

You can finally get an Oracle database running on an M1 Mac!

In this video, I'll explain step-by-step how to set up an Oracle database on an M1, M2, or M3 Mac.

This will include using Docker to start the database, and connecting to it using an SQL editor.

⏱ TIMESTAMPS:
00:00 - Intro
00:40 - Download the database
02:25 - Clone the repository
03:53 - Build the image
06:30 - Run the container
08:58 - Connect to the database

🔗 VIDEO LINKS:
Oracle download page: https://www.oracle.com/database/techn...

Git Clone command:
git clone https://github.com/oracle/docker-images

Build command:
./buildContainerImage.sh -v 19.3.0 -e

Docker Run command:
docker run -d --name oracle19 -e ORACLE_PWD=mypassword1 -p 1521:1521 oracle/database:19.3.0-ee

Resolving Oracle connection issues: https://www.databasestar.com/oracle-c...

SELECT command for the current database:
SELECT SYS_CONTEXT('USER_ENV', 'CON_NAME')
FROM dual;

Change to PDB:
ALTER SESSION SET container=ORCLPDB1;


Watch video How to Install Oracle on an M1/M2 Mac (Finally) online without registration, duration hours minute second in high quality. This video was added by user Database Star 15 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17,547 once and liked it 358 people.