The only values you should need to change are the username and password. You’ll need to provide the DSN for the database as an argument to sqlplus. Use the sqlplus command to test connecting to Oracle inside your VM. bash_profile: export PATH=$PATH:~/oracle/instantclient_12_1/Įxport DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:~/oracle/instantclient_12_1/ You can do this just in your current session or in your. Next, you’ll want to update a few environment variables to point to this new directory. The directory should look something like: oracle/ Make a directory somewhere for your Instant Client to live. The Oracle Instant Client provides the Oracle Client Interface (OCI) dynamic library required by all Go drivers (and drivers for most languages). If you run into issues setting up the VM, these instructions may be helpful. If that doesn’t work, you may need to play with VMWare’s port forwarding settings. The VM’s sshd should be listening on localhost port 2222. Try SSHing into your VM as the oracle user with password oracle. GRANT CONNECT, RESOURCE, DBA, CREATE SESSION, UNLIMITED TABLESPACE TO jackson īack in your Mac’s terminal, verify that you can connect to your VM. For example: CREATE USER jackson IDENTIFIED BY password Then create a privileged Oracle user for testing. When prompted for user-name and password, provide system and oracle respectively.
![oracle database for mac os x download oracle database for mac os x download](http://discus-hamburg.cocolog-nifty.com/mac_de_oracle/images/2013/03/23/20130323_154503.png)
In the VM’s open Terminal shell, run sqlplus. Follow VirtualBox’s prompts to import the virtual machine.
#ORACLE DATABASE FOR MAC OS X DOWNLOAD INSTALL#
![oracle database for mac os x download oracle database for mac os x download](https://i.stack.imgur.com/iMtjg.png)
I have zero experience with Oracle, and I found it pretty difficult to get a working development environment setup on my Macbook. I recently found myself needing to use Oracle from an application written in Go.