Oracle 12c Database Download For Mac

  1. Oracle Db 12c Download
  2. Music Download For Mac
  3. Oracle 12c Database Download For Mac
  4. Free Downloads For Mac
  5. Oracle 12c Database Download
  6. Oracle 12c Database Download For Mac Windows 10
Active5 years, 3 months ago

Re: Oracle Database 12c Download Brian Bontrager Feb 27, 2014 5:42 PM ( in response to 88efb3a7-7659-497e-a5a8-71d5b97df1a5 ) I use Mac at home. The Easiest Way to Install Oracle Database on Apple macOS / OS X. If you have Oracle Database 12c you can use the new EM Express console for DB management and monitoring. Just enable port forwarding for port 5500 and then browse (from OS X) to easy to install Instant Client bundle. Download the Oracle Instant.

I'm attempting to get a development environment up and running on my OSX laptop, creating JSPs within Eclipse, running with a Tomcat server, and connecting to an Oracle database.

Eclipse and Tomcat are playing nice together, and I can make JSPs and so forth. The hard part now is getting an Oracle database up and running on Mountain Lion, and getting Eclipse to connect to it.

After extensive Googling, I have found a number of resources:

(or even https://docs.google.com/document/d/1Th5MSIhS13YIJYCD8W1GLnOQEfrfov-92-He1cluTec/pub)

Following these (rather thorough) guides, I have downloaded the latest Virtual Machine from Oracle, here:http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html

Note: All three of the above tutorials use a slightly older version of the VM, which has Oracle DB 10 or 11, but the one available now is 12c. The new one also has a different version of Oracle Linux, and probably some other differences. Various usernames and passwords seem to be slightly different.

Oracle 12c database download

I installed VirtualBox, loaded in the VM, brought it online. I have the Network settings configured with just a NAT adapter, with the adapter type as 'PCnet-FAST III', and port forwarding from 127.0.0.1 to 10.0.4.15 on port 1521 to 1521 and 2222 to 22.

Now, if I open Terminal on my host machine, I can SSH into my VM via: ssh -p 2222 oracle@localhost. I get the Terminal in the VM, and it gives me the same welcome message I get when I first boot up the VM in VirtualBox. Also, I can ping localhost or 127.0.0.1 and it responds with a variable but short lag.

Based on this I can only assume that my VM is working, and that my port forwarding (which is laid out in all 3 of the tutorials I linked to up there) is in good shape.

Now comes the part where I would want to connect Eclipse to the Oracle database that's within the VM. If you look under the first tutorial, dimitrisli sets up IntelliJ with a datasource pointing to the VM. I want to do the same within Eclipse.

I am new to Eclipse, so I looked around for exactly how to do this, and I came up with:

1) Make a new Database Driver.

I downloaded the JDBC for Oracle Database 12c, JDK 7, from Oracle, here. I stuck the .jar file in my Documents folder (in case that's wrong). Within Eclipse I made a new Database Driver, based off one of the other Oracle Driver templates, and changed the settings. Under 'Driver Files' I pointed to my ojdbc7.jar file, and under 'Properties' I have the following--let me know if this is wrong:

12c

I tried to use what came in the Oracle Driver template and just tweak to match my exact scenario (based on what was said in the walkthroughs and what I could divine from poking around the modern version of the VM).

2) Make a new Database Connection.

When I go to make a new Database Connection, I go to the Driver Properties area, and I can pick my custom Driver. There is also a Properties field, which I enter the following into: (some of it seems to overwrite or duplicate what I typed in when I made the Driver itself?)

When I click Test Connection, it hangs for a while and then I get a 'Ping failed!' error, with details:

Unfortunately, being new to Java and Eclipse and Oracle DB, I'm not quite sure what to do with this, and I have been poking around for several hours trying to determine what could be wrong. I'm hoping someone with some experience on this can point me in the right direction.

(Oh, and I'm not an inexperienced developer--just new to these tools.)

Oracle Db 12c Download

Thanks!

Community
Matt McMatt Mc
4,9464 gold badges38 silver badges62 bronze badges

Music Download For Mac

3 Answers

I solved my issue, after roughly 6 or 7 hours wasted.

Thanks to this post:Virtualbox 'port forward' from Guest to Host

And specifically to the comment from @Nicholas which made me realize that I had deactivated my Mac's firewall, but not the firewall in the guest OS. Turning that off made everything work suddenly.

I suppose that the default configuration of the guest OS's firewall did allow for SSH on port 2222, as that worked fine even with the firewall in place, which served to mislead me into thinking that there was something wrong with my database driver or connection.

Hopefully this will benefit posterity.

EDIT:

As @HarpreetDawar mentions, the correct connection string to access the database is:

The one that I was using, ending in :orcl instead of /PDB1, connects to the 'container database'. I don't fully understand Oracle 12c and the 'pluggable database' implementation, but the rough idea is that you can have multiple databases within a single one, and you can turn them on and off by plugging/unplugging them. Hence, 'PDB1', Pluggable Database 1.

If you connect to the Container, you will find that you are unable to create a new User/Schema without prefixing it with 'C##', which is a tad awkward. That's because the Container is not meant to be used as a normal DB. You connect to the Container to plug/unplug the pluggable dbs (and other things, no doubt).

So if you want to connect to the Container, use a colon and the 'SID' (orcl in the VM) in the connection string, and if you want to connect to a Pluggable, use a forward slash and the 'Service Name' (PDB1 in the VM) in the connection string.

Anyway, this is additional data that I learned after solving my original problem.

One more thing! A note on port forwarding.

Let's say you now have your VM up and running, and you can connect to your Oracle DB properly, etc. But you have a friend who wants to use the DB with you? Well, that's easy. He should just use the same connection string, with your IP address instead of localhost, and the port forwarding that you set up in VirtualBox should send his connection (using port 1521) straight into your VM. Right?

Well, if you set up your Port Forwarding as From: 127.0.0.1, it won't work, because your buddy's connection is going to your external IP address. So add an additional port forwarding setting, from your external IP address to your VM. Then it will work great!

-Matt

Community
Matt McMatt McDatabase

Oracle 12c Database Download For Mac

4,9464 gold badges38 silver badges62 bronze badges

I am the author of the first guide Matt Mc is quoting and taking the liberty to post my comment to his answer as a separate answer for visibility purposes.

I've initially written this guide ~ 2 years ago explaining in detail the process to get the Oracle 11gR2 installed on a Mac using VirtualBox.

Yesterday (25 Apr 14), I've upgraded the same guide outlining all the extra steps needed to get Oracle 12cR1 installed on a Mac using VirtualBox.

dimitrislidimitrisli
16.1k10 gold badges46 silver badges53 bronze badges

Use the following url

url = jdbc:oracle:thin:@//127.0.01:1521/PDB1

to make it work.

Harpreet DawarHarpreet Dawar

Not the answer you're looking for? Browse other questions tagged javaeclipsemacosoraclejdbc or ask your own question.

Active6 months ago

How can I download oracle database with wget or curl on CentOS release 6.9 (Final)?

UrbanEsc
3,1901 gold badge35 silver badges62 bronze badges
hmznhmzn

2 Answers

Oracle supports basic authentication when downloading files.

Trywget --http-user=you@domain.com --ask-password 'http://download.oracle.com/otn/linux/oracle12c/121020/linuxamd64_12102_database_1of2.zip' -O file1of2

and

wget --http-user=you@domain.com --ask-password 'http://download.oracle.com/otn/linux/oracle12c/121020/linuxamd64_12102_database_2of2.zip' -O file2of2

You'll be prompted for password.

Make sure to verify your downloads.

Isham MohamedIsham Mohamed

Free Downloads For Mac

See Downloading Oracle database 12c Release 1 (12.1.0.2.0) on Linux via wget

Oracle 12c Database Download

  1. Using your browser on your PC, go to http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html
  2. read, understand and accept license agreement
  3. Login with your Oracle SSO Account
  4. Start & stop download, copy download link in browser's download manager, for example in Firefox:
  5. start curl download with copied URLcurl 'http://download.oracle.com/otn/linux/oracle12c/121020/linuxamd64_12102_database_2of2.zip?AuthParam=XXX' -o linuxamd64_12102_database_2of2.zip (obviously AuthParam=XXX has to be your's)

Oracle 12c Database Download For Mac Windows 10

GWuGWu

Not the answer you're looking for? Browse other questions tagged command-lineoracle12ccentos6 or ask your own question.