Installing Sql Developer On Parallels For Mac

Posted on  by 

On a possibly related note - I attempted to install Oracle SQL Developer 4.1.1 on my Parallels Windows 8.1 Virtual Machine and had the same issue. Not sure if this stems from the same reason that my OS X install fails. Aug 21, 2020 SQL Server Installation. Launch the installer and select New SQL Server stand-alone installation or add features to an existing installation option: 2. On the License Terms page accept the license terms: 3. On the Microsoft Update page if required select Use Microsoft Update to check for updates: 4. Oracle Live SQL – you won’t be using SQL Developer, but it’s great for learning and playing with SQL. Phylis 5 years ago Reply I downloaded the SQL developer for my MAC, and i followed through with the instructions for the connections etc but when i tested it out it did not work.

Skip to end of metadataGo to start of metadata

To interact with an Oracle Database Server as a developer, you will need to use the Oracle SQL Developer software. This software is available free of charge from Oracle for Windows, Macintosh and Linux operating systems.

Oracle SQL Developer requires the Java Development Kit (JDK) to run. If you are using Windows, you have the option to download a version of SQL Developer that includes the JDK. To do this, pllease follow the simple installation instructions below.

If you are using Macintosh or Linux or want to specify a separate JDK to use on Windows, then follow the two part installation instructions below.

If you encounter any error messages, please refer to the troubleshooting section at the end of this document.


Simple installation for Windows-64 bit version

  1. Visit http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html and download the 64-bit version of Oracle SQL Developer. The 32/64 bit installer will also work, but you should use the 64-bit version specifically since it also includes Java. if you want to use the 32/64-bit installer instead, then you will need to follow the two-part installation process discussed in the next section.

  2. There is no installer for this software. Simply download the ZIP file, extract the zipped-up folder, and launch the SqlDeveloper executable inside that folder. You may move the extracted folder where you want on your hard drive and create a shortcut to it on your desktop or wherever you wish.


  3. The first time you launch Oracle SQL Developer you will also be prompted to associate certain file types with it. You should select all file types and click ok.


  4. Once it finishes launching, Oracle SQL Developer should look like this. You may begin using it.


Download and Install Java SDK

  1. Download the latest version of Java Development Kit from http://www.oracle.com/technetwork/java/javase/downloads/index.html and run it.

  2. We recommend you accept all default options. When prompted for a location to install the JDK, whether you keep the default or change it, make a note of where you install it, since the first time Oracle SQL Developer runs it will ask you where JDK is installed.

Download and Install Oracle Developer

  1. Visit http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html and download the version of Oracle SQL Developer you require.
  2. There is no installer for this software. Simply download the ZIP file, extract the zipped-up folder, and launch the SqlDeveloper executable inside that folder. You may move the extracted folder where you want on your hard drive and create a shortcut to it on your desktop or wherever you wish.

  3. The first time you launch Oracle SQL Developer you will be promoted to tell it the location of your installed JDK. Use the Browse button to browse to the the location of Java.exe. For example: a typical installation path for JDK version 7 on Windows is C:Program FilesJavajrebinjava.exe'
Installing


  1. The first time you launch Oracle SQL Developer you will also be prompted to associate certain file types with it. You should all file types and click ok.


  2. Once it finishes launching, Oracle SQL Developer should look like this. You may begin using it.



  1. Even if you downloaded and installed the latest version of Java, you may receive a message similar to the following that your version of Java is unsupported. We recommend you check the box the skip this message from now on and click yes to continue.
  2. Depending on the version of JDK you have and what version of SQL Developer you downloaded you may receive a message that MSVCR100.dll (or a similarly named DLL) is missing. This DLL is a file that you should find in the same directory as Java.exe. Simply COPY that file and PASTE it into the same directory as SqlDeveloper.exe. Then relaunch Oracle SQL Developer.

I previously explained how to install SQL Server on a Mac via a Docker container. When I wrote that, SQL Server 2017 was the latest version of SQL Server, and it had just been made available for Linux and Docker (which means that you can also install it on MacOS systems).

In late 2018, Microsoft announced SQL Server 2019 Preview, and subsequently announced general release in late 2019. The installation process for SQL Server 2019 is exactly the same as for SQL Server 2017. The only difference is that you need to use the container image for SQL Server 2019 instead of the 2017 image. Here I show you how to do that.

Also, if you already have SQL Server 2017 installed, and you want to install SQL Server 2019 without removing the 2017 version, you’ll need to allocate a different port number on your host. I show you how to do that too.

Docker

The first step is to install Docker. If you already have Docker installed you can skip this step (and jump straight to SQL Server).

Docker is a platform that enables software to run in its own isolated environment. Therefore, SQL Server 2019 can be run on Docker in its own isolated container.

  1. Install Docker

    To download, visit the Docker CE for Mac download page and click Get Docker.

    To install, double-click on the .dmg file and then drag the Docker.app icon to your Application folder.

  2. Launch Docker

    Launch Docker the same way you’d launch any other application (eg, via the Applications folder, the Launchpad, etc).

    When you open Docker, you might be prompted for your password so that Docker can install its networking components and links to the Docker apps. Go ahead and provide your password, as Docker needs this to run.

  3. Increase the Memory (optional)

    By default, Docker will have 2GB of memory allocated to it. I’d suggest increasing it to 4GB if you can.

    To do this, select Preferences from the little Docker icon in the top menu:

    Then finish off by clicking Apply & Restart

SQL Server

Now that Docker has been installed and configured, we can download and install SQL Server 2019.

  1. Download SQL Server 2019

    Open a Terminal window and run the following command.

    This downloads the latest SQL Server for Linux Docker image to your computer.

    You can also check for the various container image options on the Docker website if you wish.

  2. Launch the Docker Image

    Run the following command to launch an instance of the Docker image you just downloaded:

    Just change Bart to a name of your choosing, and reallyStrongPwd#123 to a password of your choosing.

    If you get a “port already allocated” error, see below.

    Here’s an explanation of the parameters:

    -e 'ACCEPT_EULA=Y'
    The Y shows that you agree with the EULA (End User Licence Agreement). This is required.
    -e 'SA_PASSWORD=reallyStrongPwd#123'
    Required parameter that sets the sa database password.
    -p 1433:1433
    This maps the local port 1433 to port 1433 on the container. The first value is the TCP port on the host environment. The second value is the TCP port in the container.
    --name Bart
    Another optional parameter. This parameter allows you to name the container. This can be handy when stopping and starting your container from the Terminal. You might prefer to give it a more descriptive name like sql_server_2019 or similar.
    -d
    This optional parameter launches the Docker container in daemon mode. This means that it runs in the background and doesn’t need its own Terminal window open. You can omit this parameter to have the container run in its own Terminal window.
    mcr.microsoft.com/mssql/server:2019-latest
    This tells Docker which image to use.

    Password Strength

    You need to use a strong password. Microsoft says this about the password:

    The password should follow the SQL Server default password policy, otherwise the container can not setup SQL server and will stop working. By default, the password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols.

    Error – “Port already allocated”?

    If you get an error that says something about “port is already allocated”, then perhaps you already have SQL Server installed on another container that uses that port. In this case, you’ll need to map to a different port on the host.

    Therefore, you could change the above command to something like this:

    In this case I simply changed -p 1433:1433 to -p 1400:1433. Everything else remains the same.

    You may now get an error saying that you need to remove the existing container first. To do that, run the following (but swap Bart with the name of your own container):

    Once removed, you can try running the previous command again.

    Note that if you change the port like I’ve done here, you will probably need to include the port number when connecting to SQL Server from any database tools from your desktop. For example, when connecting via the Azure Data Studio (mentioned below), you can connect by using Localhost,1400 instead of just Localhost. Same with mssql-cli, which is a command line SQL tool.

Check Everything

Now that we’ve done that, we should be good to go. Let’s go through and run a few checks.

Installing Sql Developer On Parallels For Mac Free

  1. Check the Docker container (optional)

    You can type the following command to check that the Docker container is running.

    In my case I get this:

    This tells me that I have two docker containers up and running: one called Bart and the other called Homer.

  2. Connect to SQL Server

    Here we use the SQL Server command line tool called “sqlcmd” inside the container to connect to SQL Server.

    Enter your password if prompted.

    Now that you’re inside the container, connect locally with sqlcmd:

    This should bring you to the sqlcmd prompt 1>.

  3. Run a Quick Test

    Run a quick test to check that SQL Server is up and running. For example, check the SQL Server version by entering this:

    This will bring you to a command prompt 2> on the next line. To execute the query, enter:

    Result:

    If you see a message like this, congratulations — SQL Server is now up and running on your Mac!

    If you prefer to use a GUI to manage SQL Server, read on.

Azure Data Studio

Installing sql developer on parallels for mac os

Azure Data Studio is a free GUI management tool that you can use to manage SQL Server on your Mac. You can use it to create and manage databases, write queries, backup and restore databases, and more.

Azure Data Studio is available on Windows, Mac and Linux.

Here are some articles/tutorials I’ve written for Azure Data Studio:

Another Free SQL Server GUI – DBeaver

Another SQL Server GUI tool that you can use on your Mac (and Windows/Linux/Solaris) is DBeaver.

Oracle Sql Developer Download Mac

DBeaver is a free, open source database management tool that can be used on most database management systems (such as MySQL, PostgreSQL, MariaDB, SQLite, Oracle, DB2, SQL Server, Sybase, Microsoft Access, Teradata, Firebird, Derby, and more).

Installing Sql Developer On Parallels For Mac Pro

I wrote a little introduction to DBeaver, or you can go straight to the DBeaver download page and try it out with your new SQL Server installation.

Coments are closed