Free Sql Server Client For Mac

By: Sadequl Hussain | Updated: 2017-11-21 | Comments (1) | Related: More >Database Administration


Navicat for MySQL. My Rec ommendation for Navicat for MySQL. My Recommendation for Navicat.

Problem

Free, open-source SQL client for Windows and Mac 🦅 - plotly/falcon. Prior to SQL Server 2017, if you wanted to run SQL Server on your Mac, you first had to create a virtual machine (using VirtualBox, Parallels Desktop, VMware Fusion, or Bootcamp), then install Windows onto that VM, then finally SQL Server. Oracle SQL Developer. SQL Developer by Oracle is one of the most traditional database tools to. SQL Server 2019 Express is a free edition of SQL Server, ideal for development and production for desktop, web, and small server applications. Connect with user groups and data community resources related to SQL Server, Azure Data, and diversity and inclusion.

I am a system administrator / DBA using a Windows laptop. I can remotely connectto our Windows servers from my laptop. Some of my colleagues are using non-Windowssystems like Mac or Linux. Sometimes they also need to access these boxes. How canthey connect?

Solution

System administrators or DBAs often need to access Windows servers remotely.This can be for various reasons like:

  • Troubleshooting low disk space
  • Running Performance Monitor or Profiler
  • Monitoring Windows Event Viewer
  • Applying service packs
  • Creating and troubleshooting scheduled Windows jobs
  • Installing software like SQL Server
  • Connecting to another instance from a “jump host”
  • Administering Active Directory
  • Etc.

Windows ships with a tool called the “Remote Desktop Client” to helpconnect to another Windows machine. However, there are users who do not use a Windowsworkstation. Particularly with the spread of open source databases, cloud technologiesand the need for accessing Linux servers, a lot of engineers now use an Apple MacBookor Linux distributions like Fedora or Ubuntu.

Some of these engineers and administrators may need to access Windows hosts.It would make their job much simpler if they had tools similar to the RDP client.

In this tip we will talk about a few remote desktop clients available for Macand Linux. We will talk about their ease of use, features, etc. In a future post,we will talk about Mac and Linux-based database client tools.

Disclaimer

Please be careful when accessing production servers remotely. In most cases,organizations have strict security principles about who can access their servers,so readers need to follow those guidelines. Also, you should not run any commands,queries, or configurations from this tutorial on a production server. In the casewhen you are required to access remote servers and run commands, make sure you areconnected to the right server.

Although we list a number of remote clients from various vendors, this is byno means an exhaustive list. Nor do we endorse any of the products or have any affiliationwith their vendors. The observations made here are purely those of the author.

Also, this tip is not about how to install and configure remote desktop clients.Each software installer package will have its own requirements and dependenciesfor different operating systems; it’s not possible to address every issuewhere the package may be failing to install or the client failing to connect toa remote server. This is more of an overview of the tools available.

Remote Desktop Clients

Before going into details, let’s talk about the features we want in a remotedesktop client. We wanted tools which:

  • Are free / open source or at least have a community edition available
  • Have active development or product support
  • Can map local resources like disk drives or folders to the remote machine
  • Allow saving remote desktop sessions for easy future connection
  • Allow different screen resolutions
  • Enables clipboard sharing between local and remote machines

With these features in mind, let’s first see what’s available forMac users.

Mac Clients

Microsoft Remote Desktop

For Mac users, Microsoft has released the Microsoft Remote Desktop app, downloadablefrom theMac App store. The application features connection saving, easy searching ofsaved connections, connectivity to Azure RemoteApp and remote resources:

Creating a new connection is fairly simple and intuitive:

Standard features like mapping local directories to remote machine, sound andprinter forwarding are also present:

CoRD

Out next option for the Mac platform is CoRD,downloadable from its sourceforge site. CoRD is also easy to use and offers most features found in otherremote desktop tools.

The image below shows a local folder in a Mac system mapped to a remote Windowsmachine.

Royal TSX

Royal TSX is yet another tool available for Mac fromRoyalApplications. The latest version requires at least the Mac OS Yosemite operatingsystem.

What sets RoyalTSX apart is its ability to use plugins for different types ofconnectivity. These plugins are available from Royal Software as well. The remotedesktop client plugin is installed by default. Similarly, other connection typeslike VNC, SSH, HTTP or FTP can be installed with plugins, making it almost a universalconnectivity tool.

Royal TSX allows repetitive command tasks or key sequences to be run automaticallybefore, after or when a connection is made. The images below show this:

Some plugins allow Windows processes, services or events to be accessed remotely.However, this requires the RoyalTSX server component:

As the image below shows, connecting to a Windows server is fairly simple andstandard. The credentials for the connections need to be created first:

The free version of Royal TSX allows up to 10 remote connections. If you arenot managing dozens of Windows servers, the free version can be a good choice.

Linux Clients

Like Mac, there are remote desktop tools available for different flavors of Linux.To use these tools, needless to say, the Linux computer needs to be running in graphicalmode. Here are few of the tools to consider.

KRDC

KRDC or KDE Remote Desktop Client is available for Linux distros running K Desktop,like Fedora. The package is available from KDE repo, so it can be easily installedwith the following command:

KRDC has a simple interface. However, in our opinion, it lacks a basic featureexpected from any RDP client.

For example, once a connection is created, KRDC can “remember” theremote server’s username and password, provided it’s saved in the KDEWallet Manager application.

This obviously means installing another KDE application in your workstation.The default wallet it looks for is called “kdewallet” and in a vanillainstallation of KDE Wallet, users don’t know the password for that wallet,nor can they change it (at least we could not).

This means when connecting from the KRDC tool, users will be prompted for thewallet’s password if the “Remember password (KWallet)” optionwas chosen. Since users would not know the password, they have to bypass this bypressing the “Cancel” button:

Bypassing the wallet password prompt will result in the tool asking for the remoteuser’s password. Not a show-stopper perhaps, but to most regular users thiscan be a time-consuming affair.

Remmina

In our opinion, this is one of the best tools available for debian-based Linuxdistros, and can be downloaded from theRemmina GitHubrepo of FreeRDP. Unfortunately the installation page does not list any RedHat-baseddistros except Fedora. If you are using something like Ubuntu, Gentoo, Fedora orArchLinux, this tool should be yours.

The two images below show a remote Windows desktop displayed in Remmina runningin Ubuntu 16.10:

Other than RDP, this tool also supports NX, VNC and SSH protocols:

Some of the advanced features of Remmina connection properties are shown below:

Like RoyalTSX for Mac, this tool also allows for startup programs to run whena connection is made.

FreeRDP

Another tool from the same repo owner is FreeRDP, a command line tool to startremote desktop sessions. This is available from theGitHubpage of the product. FreeRDP is available for Ubuntu, Debian, Fedora, and OpenSuSEin Linux distributions and for Mac and even Windows. As said, this is a commandline tool, but has a large number of options available as switches.

We installed the tool in a Fedora 26 machine and were able to connect to a WindowsServer. The actual command is xfreerdp and it’s located in the /usr/bin directory.The following code snippet shows a basic form of the command and its output. Inthis case, we can safely ignore the warning:

Other Remote Desktop Sharing Protocols

So far, the tools we have talked about all use the remote desktop protocol. Thisis a proprietary protocol developed by Microsoft and ships with any Windows machine.It runs on port 3389 by default. However, this is not the only protocol availablefor remote connections. We will talk about two other protocols:

  • VNC
  • NX

VNC

VNC or Virtual Network Computing is a desktop sharing system using the RemoteFrame Buffer (RFB) protocol. Computers running a VNC server can be remotely connectedfrom other computers running a VNC client. This is a platform independent protocol,which means there are servers and clients available for Mac, Linux and Windows.This also means the same VNC client can connect to a remote Windows server or aLinux server, each of which could be running VNC as a service. In fact someof the RDP tools we have discussed so far like Remmina, KRDC or RoyalTSX - all featurea VNC client. The default port for VNC communication is 5900. For Java-based VNCclient, this is 5800.

Although VNC can be an alternative to remote desktop protocol, it means installationof additional software on the Windows server and configuring any firewall to allowtraffic on the VNC port.

There are various VNC client and server packages available for free, some ofthese are:

  • TightVNC
  • TigerVNC
  • RealVNC Home Edition
  • UltraVNC

The image below shows the UltraVNC service running in a Windows Server 2016 machine.We downloaded it from UltraVNC’sofficial site.

And here are some of the UltraVNC service configurations:

The image below shows how we are using a TigerVNC Viewer client from a CentOS7.16 machine to connect to the Windows server running UltraVNC.

NX

Mac

NX is another remote desktop sharing protocol developed by a company called NoMachine(there are also open source variants like OpenNX and FreeNX). The tool, also calledNoMachine, allows some cool features like recording the remote desktop sessionsor streaming remote multimedia. Unlike VNC or RDP, NoMachine does not have separatesoftware installers for client and server: a NoMachine install creates both thecomponents. Once NoMachine is installed in a Windows server, make sure the serviceis running and the firewall is allowing traffic through the default port of 4000.

Free Sql Server Client For Mac 2019

In the image below, we can see the nxservice (NoMachine server) running as aWindows service:

The following series of images show a NoMachine client running in Fedora settingup a remote Windows server connection:

Once the connection is set up, subsequent connections are easy: just select theconnection icon and click on the “Connect” button:

Once the credentials are provided (here we are using password authentication),there are a number of options to choose from for logon, display, resolution, sound,multimedia, etc.:

As you can see, NoMachine provides lot of options to configure how you interactwith the remote computer. Once you click through the options, the remote desktopis shown as a locked screen:

You can now press Ctl+Alt+0 to bring out the NoMachine menu, click on the littleicon in the lower right corner and choose Ctl+Alt+Delete from the pop-up menu, thenclick on the “Done” button:

This will bring up the Windows logon screen where you can put the remote server’saccess credentials.

Conclusion

One thing to remember when troubleshooting remote desktop session issues is thenetworking layer. For any remote desktop connection to succeed:

  • The service component needs to be running in the remote machine, whetherit is remote desktop service, VNC or NX.
  • The remote server needs to have a network path from the client: for example,we cannot remote desktop into a server if it’s only accessible from abastion host.
  • The server’s firewall or other network protection layer has to allowremote desktop traffic coming from the client’s network. This is particularlytrue if the machine is running VNC or NX.
  • When running the Windows remote desktop protocol and client, the user needsto be a member of the remote desktop users local Windows group other groupswith higher privileges.
  • The network bandwidth needs to be good, particularly if there is a largegeographical distance between client and server.

We hope this tip has given you some ideas about choosing the right RDP tool.We leave it up to the reader to make their own choice. Feel free to comment aboutother non-Windows RDP clients you might be using in the comments section below.

Next Steps

If you are using a non-Windows workstation, consider the following:

  • Download and install the RDP clients we talked about
  • Test the limitations of the “free” editions; for example:
    • How many remote sessions you can keep open or
    • How many sessions you can save

How to rename a SQL Server database
How to determine SQL Server database transaction log usage
Determine Free Space, Consumed Space and Total Space Allocated for SQL Server databases
Move SQL Server transaction log files to a different location via TSQL and SSMS
Different ways to determine free space for SQL Server databases and database files
Script to Get Available and Free Disk Space for SQL Server
How to read the SQL Server Database Transaction Log
How to find user who ran DROP or DELETE statements on your SQL Server Objects
Understanding how SQL Server stores data in data files
Renaming Physical Database File Names for a SQL Server Database
Copy a SQL Server database with just the objects and no data
Execute SQL Server Script Files with the sqlcmd Utility
How to Check Monthly Growth of Database in SQL Server
How to stop and start SQL Server services
SQL Server Download Quick Links
How to Shrink SQL Server Database Files
Date and Time Conversions Using SQL Server
Rolling up multiple rows into a single row and column for SQL Server data
SQL Server CROSS APPLY and OUTER APPLY
How to tell what SQL Server versions you are running
Using MERGE in SQL Server to insert, update and delete at the same time
Add and Subtract Dates using DATEADD in SQL Server
SQL Convert Date to YYYYMMDD
Concatenate SQL Server Columns into a String with CONCAT()
Resolving could not open a connection to SQL Server errors
Ways to compare and find differences for SQL Server tables and data
Searching and finding a string value in all columns in a SQL Server table
SQL Server Database Stuck in Restoring State
Split Delimited String into Columns in SQL Server with PARSENAME
Install SQL Server Integration Services in Visual Studio 2019




About the author
Sadequl Hussain has been working with SQL Server since version 6.5 and his life as a DBA has seen him managing mission critical systems.
View all my tips

Article Last Updated: 2017-11-21-->

Azure Data Studio is a cross-platform database tool for data professionals who use on-premises and cloud data platforms on Windows, macOS, and Linux.

Azure Data Studio offers a modern editor experience with IntelliSense, code snippets, source control integration, and an integrated terminal. It's engineered with the data platform user in mind, with the built-in charting of query result sets and customizable dashboards.

Use Azure Data Studio to query, design, and manage your databases and data warehouses wherever they are, on your local computer or in the cloud.

For more information about Azure Data Studio, visit What is Azure Data Studio?.

Download Azure Data Studio

Azure Data Studio 1.32.0 is the latest general availability (GA) version.

  • Release number: 1.32.0
  • Release date: August 18, 2021
PlatformDownload
WindowsUser installer (recommended)
System installer
.zip file
macOS.zip file
Linux.deb file
.rpm file
.tar.gz file

Note

Azure Data Studio currently does not support the ARM architecture.

If you have comments or suggestions or want to report a problem with downloading Azure Data Studio, submit an issue to our team on the Azure Data Studio feedback page.

Install Azure Data Studio

Windows installation

Important

Beginning with SQL Server Management Studio (SSMS) 18.7, Azure Data Studio is automatically installed alongside SSMS. Users of SQL Server Management Studio are now able to benefit from the innovations and features in Azure Data Studio. Azure Data Studio is a cross-platform and open-source desktop tool for your environments, whether in the cloud, on-premises, or hybrid.

To learn more about Azure Data Studio, check out What is Azure Data Studio or the FAQ.

This release of Azure Data Studio includes a standard Windows installer experience and a .zip file.

We recommend the user installer, which simplifies installations and updates and doesn't require Administrator privileges. (It doesn't require Administrator privileges because the location is under your user Local AppData (LOCALAPPDATA) folder.) The user installer also provides a smoother background update experience. For more information, see User setup for Windows.

User installer (recommended)

  1. Download and run the Azure Data Studio user installer for Windows.

  2. Start the Azure Data Studio app.

System installer

  1. Download and run the Azure Data Studio system installer for Windows.

  2. Start the Azure Data Studio app.

.zip file

  1. Download the Azure Data Studio .zip file for Windows.

  2. Go to the downloaded file and extract it.

  3. Run azuredatastudio-windowsazuredatastudio.exe.

Microsoft Sql For Mac

Unattended installation for Windows

You can also install Azure Data Studio by using a command prompt script.

For Windows, install Azure Data Studio in the background without prompts by doing the following:

  1. Open the command prompt window with elevated permissions.

  2. Run the following command:

    Example:

    Note

    The following example also works with the system installer file.

    In the preceding code, you can also pass /SILENT instead of /VERYSILENT to see the setup user interface.

  3. If you've run the commands successfully, you can see Azure Data Studio installed.

macOS installation

  1. Download Azure Data Studio for macOS.

  2. To expand the contents of the .zip file, double-click it.

  3. To make Azure Data Studio available in Launchpad, drag the Azure Data Studio.app file to the Applications folder.

Linux installation

Install with a .deb file

  1. Download Azure Data Studio for Linux by using the .deb file.

  2. To extract the .deb file, open a new terminal window, and then run the following commands:

  3. To start Azure Data Studio, run this command:

Note

You might have missing dependencies. To install them, run the following command:

Install with an .rpm file

  1. Download Azure Data Studio for Linux by using the .rpm file.

  2. To extract the file, open a new terminal window, and then run the following commands:

  3. To start Azure Data Studio, run this command:

Note

You might have missing dependencies. To install them, run the following command:

Install with a .tar.gz file

  1. Download Azure Data Studio for Linux by using the .tar.gz file.

  2. To extract the file, open a new terminal window, and then run the following commands:

  3. To start Azure Data Studio, run this command:

Note

You might have missing dependencies. To install them, run the following command:

Windows Subsystem for Linux

  1. Install Azure Data Studio for Windows. Then, use the azuredatastudio command in a Windows Subsystem for Linux (WSL) terminal just as you would in a standard command prompt. By default, the application is stored in your AppData folder.

  2. Start Azure Data Studio from the WSL command prompt. When you're using the default Windows installation, start the application by running the following command:

What's new with Azure Data Studio

For details about the latest release of Azure Data Studio, see Release notes for Azure Data Studio.

Download the GA release of Azure Data Studio

We recommend that you download the general availability (GA) release of Azure Data Studio.

Download the insiders build of Azure Data Studio

As an alternative, if you want to try out the beta features and send feedback, you can download the insiders build of Azure Data Studio.

Supported operating systems

Azure Data Studio runs on Windows, macOS, and Linux and is supported on the following platforms:

Windows operating systems

  • Windows 10 (64-bit)
  • Windows 8.1 (64-bit)
  • Windows 8 (64-bit)
  • Windows 7 (SP1)
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012 R2 (64-bit)
  • Windows Server 2012 (64-bit)
  • Windows Server 2008 R2 (64-bit)

macOS operating systems

  • macOS 10.15 Catalina
  • macOS 10.14 Mojave
  • macOS 10.13 High Sierra
  • macOS 10.12 Sierra
  • macOS 11.1 Big Sur

Linux operating systems

  • Red Hat Enterprise Linux (RHEL) 8.3
  • Red Hat Enterprise Linux 8.2
  • Red Hat Enterprise Linux 8.1
  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux 7.4
  • Red Hat Enterprise Linux 7.3
  • SUSE Linux Enterprise Server v12 SP2
  • Ubuntu 20.04
  • Ubuntu 18.04
  • Ubuntu 16.04

Note

Versions 7.3 and 7.4 of RHEL are no longer supported by Red Hat. RHEL 7.3 support ended November 30, 2018, and RHEL 7.4 ended August 31, 2019.

For more information, see the RHEL 7 Application Compatibility Guide or the RHEL 8 Application Compatibility Guide.

System requirements

Requirement levelCPU coresRAM memory
Recommended48 GB
Minimum24 GB

Check for updates

To check for the latest updates, on the left pane, select Manage (gear icon), and then select Check for Updates.

To apply environment updates offline, install the latest version directly over your previously installed version. You don't need to uninstall earlier versions of Azure Data Studio. If an earlier version is present, the installer automatically updates to the latest version.

Sql

Move user settings

If you're updating SQL Operations Studio to Azure Data Studio and want to keep your settings, keyboard shortcuts, or code snippets, do the following:

Note

Macos Sql Server Client

If you've already installed Azure Data Studio or you've never installed or customized SQL Operations Studio, you can ignore this section.

  1. On the left pane, select Manage (gear icon) and then select Settings.

  2. At the top, right-click the User Settings tab, and then select Reveal in Explorer.

  3. Copy all files in this folder and save them in an easy-to-find location on your local drive, such as your Documents folder.

  4. In your updated version of Azure Data Studio, follow steps 1 and 2 and then, for step 3, paste the contents you saved into the folder. You can also manually copy over the settings, key bindings, or snippets in their respective locations.

  5. If you're overriding your current installation, before you do so, delete the old installation directory to avoid errors connecting to your Azure account for the resource explorer.

Uninstall Azure Data Studio from Windows

If you installed Azure Data Studio by using the Windows installer, uninstall it just as you would any Windows application.

If you installed Azure Data Studio with a .zip file or other archive, delete that file.

Uninstall Azure Data Studio from macOS

You can uninstall apps from the internet or disc on Mac by doing the following:

  1. Select the Finder icon in the Dock, and then select Applications in the Finder sidebar.

  2. Do one of the following:

    • If an app is in a folder, open the app's folder to check for an uninstaller. Double-click Uninstall [App] or [App] Uninstaller, and then follow the onscreen instructions.

    • If an app isn't in a folder or doesn't have an uninstaller, drag the app from the Applications folder to the Trash (at the end of the Dock).

To uninstall apps you've downloaded from the App Store, use Launchpad.

Uninstall Azure Data Studio from Linux

In Debian

You can uninstall Azure Data Studio under Debian or Ubuntu Linux.

To list installed software type, run the following commands:

To delete the software, run the following commands:

In RedHat

Use the rpm or yum command to delete Azure Data Studio.

Free Sql Server Client For Mac Os

To list the installed software type, run the following commands:

To get information about the azuredatastudio package, run the following commands:

To delete a package called azuredatastudio, run the following commands:

Next steps

To learn more about Azure Data Studio, see the following resources:

Get help for SQL tools

Contribute to SQL documentation

Did you know that you can edit SQL content yourself? If you do so, not only do you help improve our documentation, but you also get credited as a contributor to the page.

For more information, see How to contribute to SQL Server documentation

Microsoft Privacy Statement and Enable or disable usage data collection for Azure Data Studio.