I see that Oracle 11g or 12c doesn't have the download files for OS X. However, there is a version of the SQL Developer available for OS X. What's the point of the SQL Developer when you don't have a database?
How do I install the Oracle database (preferable 12c or 11g Express Edition) on OS X?
You can't install the database server software directly on OS X1. Oracle made a decision some time ago not so support it any more, presumably because it wasn't used enough to justify the costs involved. I seem to recall its demise roughly coincided with Apple dropping their Xserve line, but I may have imagined that.
A client like SQL Developer is a very different proposition from a support perspective. SQL Developer is a Java application, and requires a JVM/JDK to be installed. Java's write-once-run-anywhere may not be entirely true, but it's still likely to be rather less work to support a relatively small Java application than a natively-compiled beast like an full RDBMS. They obviously have to do some work to have a .app bundle and there are some application difference from the Windows version, but they don't have to worry about different architecture, system libraries, etc. as that's the JVM's problem.
You can use SQL Developer on a Mac to connect to a database running on Windows or Unix/Linux etc., so it still has a place; the fact you can't have a local server running on the same hardware isn't really relevant for most people. It just allows developers to use a Mac instead of forcing them on to a Windows or Linux PC.
If you only have access to a Mac then the simplest route is still as noted before, to install VirtualBox and one of the pre-built VM images Oracle provides.
You can also install Windows or Linux on Bootcamp or in your own VM in Virtualbox, Parallels or VMWare; and then install Oracle natively. Using a pre-built image saves you needing to learn how to install the database server software, and also makes it easier to go back - if you really mess something up you can trash it and start again fairly simply.
If you're worried about performance or power use I'd suggest you start with a VM and see how you get on; you can always add Bootcamp later and even move the data across if you want to go down that route.
1 You could try to hack something together of course; it's been done before with 10g but I haven't seen anyone trying it recently so it may not be as easy on Yosemite and 11g/12c.
I ran Oracle Database 12c in my Mac via Docker by this way for development and testing https://koacervate.blogspot.com/2019/01/quick-start-fastest-way-to-run-instance.html.
Hope that is useful for you.
Regards,
Related
Since Oracle Database cannot be installed on Apple Silicon, I decided to take a workaround, but now I do not understand how to connect to the Oracle Database, which I installed on a Windows 11 virtual machine through Parallels.
I understand that this makes little sense, since in fact you can use Oracle from Windows 11 and do whatever you want with it.
But as an experiment, I wanted to try connecting to an already deployed HR database in my Windows 11 virtual machine using DataGrip on my Apple Silicon (M1) computer.
I know that there are other ways to use Oracle on a Mac (using Docker for example) but maybe we can come up with some other alternative, or maybe there already is, but I don't know about it.
I hope I wrote as clear as possible. Sorry, I'm using a translator.
I used this instruction to install Instant Client (as I understand it, this tool helps us connect to the Database server, be it a virtual machine or a remote server), I spent several hours installing everything. In Datagrip, when connecting, I specified different settings, wrote the path to the installed instantclient, however, I constantly get an error when connecting (whatever settings I choose), I googled this error, but I still did not understand how I can apply them It is for M1 and not Windows computers.
The error looked like this:
Failed DBMS: Oracle (no ver.) Case sensitivity: plain=mixed, delimited=exact Native library cannot be loaded. no ocijdbc21 in java.library.path: /Users/malkhaz/instantclient_19_8:/Users/malkhaz/lib:/Users/malkhaz/instantclient_19_8.
I currently have a mac and need to use Oracle SQLDeveloper for study purposes for university. Download SQLDeveloper on the official Oracle website, but unlike windows that have to install and enter a password for SYSTEM, when downloading SQLDeveloper it was an executable file that did not need a previous installation, the application works well, only I cannot use the user SYSTEM, since at no time enter a password, since I do not have a SYSTEM user, I cannot create a user and I cannot do my university work.
If any of you know how to find the SYSTEM password or how to create a user in any other way, I would be very grateful
As you'll be using Oracle for studying purposes, installing anything but its Express Edition (XE) is probably too much for you.
Unfortunately, you can't install XE directly on Mac OS. I don't have Mac so I can't speak from my own experience, but my colleague does and here's what he did: installed virtual machine under MS Windows and put Oracle XE onto it. He also has SQL Developer installed on the same virtual machine and uses everything in the same (Windows) environment.
I'd suggest you to do the same, unless there's a database available to you over the Internet (i.e. you can connect to a database DBA installed on a server that resides on the University); in that case, you'd need info about that database and establish connection once you're in the network (probably via VPN).
If you choose to use a virtual machine, there are walkthroughs available on the Internet; here's one of them: How to Install Oracle on a Mac, see if it helps.
Or, see which preinstalled virtual machines Oracle offers for download, here.
The thing is that I am studying Oracle database administration, and I want to test everything out on a VM where it has Oracle Database 12c edition, along with Enterprise Manager Cloud Control.
Are there any VMs that are ready to be used after deployment having those products? It doesn't matter if it have linux OS or windows.
Thanks in advance!
See Pre-Built Developer VMs (for Oracle VM VirtualBox). Yes, I know - you want Enterprise Manager Cloud Control (EMCO) but I wouldn't know whether any of those has it or not.
I'm not a DBA so I have no idea what it actually is, but - if it can be downloaded and installed separately (why not? Most, if not all Oracle software is free to download and use for educational purposes), perhaps you could install one of those virtual machines and - additionally - install EMCO.
Do you happen to now if imp oracle command is included in the oracle client tools 11g for MAC OS?
Actually I have download the packages but I can't seem to find it and I am wondering if there is a trick for this.
Thank you
What you have downloaded is the 'Instant Client'. This is basically a sub-set of the Oracle client, just for connecting to the database. Find out more.
The Instant Client does not include admin utilities such as IMP. For that you need the standard client, which is basically the full database software. However, 10g was the only version ever available for MAC OS. I guess the demand wasn't there. How many MAC OS servers are there?
When I'm testing software I'm going to deploy or running through tests in the Windows world, I'll use VMWare images so that I can start from a fresh, known state at the beginning of each test. This has worked really well so that I can install software on different OS flavors or with other/different apps and drivers loaded. This makes it super simple to duplicate or nearly duplicate a customer's environment when addressing issues that crop up.
Now I'm tasked with doing something similar for Mac OS X. I'm far less familiar with this OS and didn't really see the same sort of thing available. I noted that the server version of 10.5 might allow this, but I'm not running that here. I've got access to 10.5 on a Mac Book and one of those Mac Minis.
Has anyone used Time Machine to put their test Mac box into a known state? Or do you have other ideas? I'm also interested in a solution for 10.4 since some of my customers run "Tiger".
I tend to test things that don't manipulate the global computer state (i.e. a lot of well written Cocoa applications) with the "Guest" account. Since Tiger (I think), the effects of using this account are wiped at logout, so you can easily get a virgin environment again.
By default, Time Machine excludes certain paths from backup. This could be detrimental to your testing strategy, depending on the system resources that your software touches. See this article for information on the exclusions. At a bare minimum, if you are going to use Time Machine to rollback, make sure nothing you are testing depends on any of the excluded files.
But, I think there is a better alternative, if you can live with Mac OS X Server: VMWare Fusion provides support for virtualizing instances of Mac OS X Server Leopard. Then you can use the same strategy you used for Windows.
From http://www.vmware.com/products/fusion/features.html
VMware Fusion boasts the most complete
OS support, supporting more than 60
operating systems in a virtual
machine, including Windows XP, Windows
Vista, and even Mac OS X Server.
Keep in mind, you cannot virtualize Mac OS X Client due to license restrictions, though.
An alternative (perhaps more lightweight) solution that I just found recently is an app called RooSwitch. It lets you swap configurations for an application. So you could have a bunch of different prefs files, cache files, etc for your app and create a named configuration for it. You can create multiple configurations to test new user setup, or to reproduce an issue using a customer's data without losing your own config. RooSwitch then lets you switch between all these different configs.
I haven't used it myself yet, but heard about it on a podcast recently and thought it sounded useful for my own development and testing.