How to create a user in SQLDeveloper with macOS? - oracle

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.

Related

How to connect to an Oracle database installed on a Windows 11 virtual machine (Parallels) using a computer with Apple Silicon (M1)?

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.

Are there any ready-to-use VMs having Oracle Database and EM Cloud Control?

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.

Where should Oracle Client library be installed while trying to connect from Pycharm(installed locally) to oracle database(running in docker)

while trying to connect Pycharm installed locally to oracle database running in container through cx_oracle an error message saying "DPI-1047: Cannot locate a 64-bit Oracle Client library" is displayed. How to fix this?
SQL Developer installed in my local machine can access the database in docker. but Pycharm is unable to connect to it. Why is that ?
The error message is clear and includes a link with instructions to follow. Install the Oracle Client libraries, e.g. Oracle Instant Client, on the machine you are running Pycharm on.
The cx_Oracle installation instructions are here: https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html.
The link in the DPI-1047 will give you the same steps.
The architecture is shown in https://cx-oracle.readthedocs.io/en/latest/user_guide/introduction.html#architecture
Download and extract a 64-bit Instant Client from https://www.oracle.com/database/technologies/instant-client/downloads.html
Then set your system library search path (e.g PATH on Windows, or LD_LIBRARY_PATH on Linux) to include that directory. Then restart the application.
The fact that the DB is running in a container is not relevant. Oracle client libraries will communicate with local or remote databases. The DB version doesn't have to be the same as the version of the Oracle client libraries.

Setting up the Oracle database on Macbook Pro (OS X Yosemite)

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,

Oracle client tools 11g for mac, imp command

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?

Resources