06.04.2020

Microsoft Sql On Mac Download

Build intelligent, mission-critical applications using a scalable, hybrid data platform for demanding workloads. Get started with a 180-day free trial of SQL Server 2019 on Windows. Get started with SQL Server 2019 on Azure Virtual Machines in minutes with preconfigured images on Linux and Windows. Download Download Microsoft Sql Server Mac Software. Actual ODBC Driver for SQL Server v.2.6 The Actual SQL Server ODBC Driver lets you access your companys Microsoft SQL Server database from within Microsoft Excel. You can connect to any database you are authorized to use, and work with the data just like your.

  1. Microsoft Sql On Mac Download Full
  2. Microsoft Sql On Mac Download Mac
  3. Microsoft Sql On Mac Download Free
  4. Microsoft Sql On Mac Download 2017
  5. Microsoft Sql Server Mac Download
  6. Windows Download Center
-->

The following instructions assume a clean environment and show how to install PHP 7.x, the Microsoft ODBC driver, the Apache web server, and the Microsoft Drivers for PHP for SQL Server on Ubuntu 16.04, 18.04, and 19.10, RedHat 7 and 8, Debian 8, 9, and 10, Suse 12 and 15, Alpine 3.11 (experimental), and macOS 10.13, 10.14, and 10.15. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the Microsoft Drivers for PHP for SQL Server GitHub project page and install them following the instructions in Loading the Microsoft Drivers for PHP for SQL Server. For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on loading the drivers.

These instructions install PHP 7.4 by default. Note that some supported Linux distros default to PHP 7.1 or earlier, which is not supported for the latest version of the PHP drivers for SQL Server -- please see the notes at the beginning of each section to install PHP 7.2 or 7.3 instead.

Also included are instructions for installing the PHP FastCGI Process Manager, PHP-FPM, on Ubuntu. This is needed if using the nginx web server instead of Apache.

Contents of this page:

Installing the drivers on Ubuntu 16.04, 18.04, and 19.10

Note

To install PHP 7.2 or 7.3, replace 7.4 with 7.2 or 7.3 in the following commands.

Step 1. Install PHP

Step 2. Install prerequisites

Install the ODBC driver for Ubuntu by following the instructions on the Linux installation article.

Step 3. Install the PHP drivers for Microsoft SQL Server

If there is only one PHP version in the system, then the last step can be simplified to phpenmod sqlsrv pdo_sqlsrv.

Step 4. Install Apache and configure driver loading

Step 5. Restart Apache and test the sample script

To test your installation, see Testing your installation at the end of this document.

Installing the drivers with PHP-FPM on Ubuntu

Note

To install PHP 7.2 or 7.3, replace 7.4 with 7.2 or 7.3 in the following commands.

Step 1. Install PHP

Verify the status of the PHP-FPM service by running

Step 2. Install prerequisites

Install the ODBC driver for Ubuntu by following the instructions on the Linux installation article.

Step 3. Install the PHP drivers for Microsoft SQL Server

If there is only one PHP version in the system, then the last step can be simplified to phpenmod sqlsrv pdo_sqlsrv.

Verify that sqlsrv.ini and pdo_sqlsrv.ini are located in /etc/php/7.4/fpm/conf.d/:

Restart the PHP-FPM service:

Step 4. Install and configure nginx

To configure nginx, you must edit the /etc/nginx/sites-available/default file. Add index.php to the list below the section that says # Add index.php to the list if you are using PHP:

Microsoft

Next, modify the section following # pass PHP scripts to FastCGI server as follows:

Step 5. Restart nginx and test the sample script

To test your installation, see Testing your installation at the end of this document.

Installing the drivers on Red Hat 7 and 8

Step 1. Install PHP

To install PHP on Red Hat 7, run the following:

Note

To install PHP 7.2 or 7.3, replace remi-php74 with remi-php72 or remi-php73 respectively in the following commands.

To install PHP on Red Hat 8, run the following:

Note

To install PHP 7.2 or 7.3, replace remi-7.4 with remi-7.2 or remi-7.3 respectively in the following commands.

Step 2. Install prerequisites

Install the ODBC driver for Red Hat 7 or 8 by following the instructions on the Linux installation article.

Step 3. Install the PHP drivers for Microsoft SQL Server

You can alternatively install from the Remi repo:

Step 4. Install Apache

SELinux is installed by default and runs in Enforcing mode. To allow Apache to connect to databases through SELinux, run the following command:

Step 5. Restart Apache and test the sample script

To test your installation, see Testing your installation at the end of this document.

Installing the drivers on Debian 8, 9, and 10

Note

To install PHP 7.2 or 7.3, replace 7.4 in the following commands with 7.2 or 7.3.

Step 1. Install PHP

Step 2. Install prerequisites

Install the ODBC driver for Debian by following the instructions on the Linux installation article.

You may also need to generate the correct locale to get PHP output to display correctly in a browser. For example, for the en_US UTF-8 locale, run the following commands:

You may need to add /usr/sbin to your $PATH, as the locale-gen executable is located there.

Step 3. Install the PHP drivers for Microsoft SQL Server

If there is only one PHP version in the system, then the last step can be simplified to phpenmod sqlsrv pdo_sqlsrv. As with locale-gen, phpenmod is located in /usr/sbin so you may need to add this directory to your $PATH.

Step 4. Install Apache and configure driver loading

Step 5. Restart Apache and test the sample script

To test your installation, see Testing your installation at the end of this document.

Installing the drivers on Suse 12 and 15

Note

In the following instructions, replace <SuseVersion> with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15 or SLE_15_SP1. For Suse 12, use SLE_12_SP4 (or above if applicable). Not all versions of PHP are available for all versions of Suse Linux - please refer to http://download.opensuse.org/repositories/devel:/languages:/php to see which versions of Suse have the default version PHP available, or to http://download.opensuse.org/repositories/devel:/languages:/php:/ to see which other versions of PHP are available for which versions of Suse.

Note

Packages for PHP 7.4 are not available for Suse 12.To install PHP 7.2, replace the repository URL below with the following URL:https://download.opensuse.org/repositories/devel:/languages:/php:/php72/<SuseVersion>/devel:languages:php:php72.repo.To install PHP 7.3, replace the repository URL below with the following URL:https://download.opensuse.org/repositories/devel:/languages:/php:/php73/<SuseVersion>/devel:languages:php:php73.repo.

Step 1. Install PHP

Step 2. Install prerequisites

Install the ODBC driver for Suse by following the instructions on the Linux installation article.

Step 3. Install the PHP drivers for Microsoft SQL Server

Note

If you get an error message saying Connection to 'pecl.php.net:443' failed: Unable to find the socket transport 'ssl', edit the pecl script at /usr/bin/pecl and remove the -n switch in the last line. This switch prevents PECL from loading ini files when PHP is called, which prevents the OpenSSL extension from loading.

Step 4. Install Apache and configure driver loading

Step 5. Restart Apache and test the sample script

To test your installation, see Testing your installation at the end of this document.

Installing the drivers on Alpine 3.11

Note

The default version of PHP is 7.3. Alternate versions of PHP are not available from other repositories for Alpine 3.11. You can instead compile PHP from source.

Step 1. Install PHP

PHP packages for Alpine are found in the edge/community repository. Add the following line to /etc/apt/repositories, replacing <mirror> with the URL of an Alpine repository mirror:

Then run:

Step 2. Install prerequisites

Install the ODBC driver for Alpine by following the instructions on the Linux installation article.

Step 3. Install the PHP drivers for Microsoft SQL Server

You may need to define a locale:

Step 4. Install Apache and configure driver loading

Step 5. Restart Apache and test the sample script

To test your installation, see Testing your installation at the end of this document.

Installing the drivers on macOS High Sierra, Mojave, and Catalina

If you do not already have it, install brew as follows:

Note

To install PHP 7.2 or 7.3, replace php@7.4 with php@7.2 or php@7.3 respectively in the following commands.

Step 1. Install PHP

PHP should now be in your path -- run php -v to verify that you are running the correct version of PHP. If PHP is not in your path or it is not the correct version, run the following:

Step 2. Install prerequisites

Install the ODBC driver for macOS by following the instructions on the macOS installation article.

In addition, you may need to install the GNU make tools:

Mac

Step 3. Install the PHP drivers for Microsoft SQL Server

Step 4. Install Apache and configure driver loading

To find the Apache configuration file, httpd.conf, for your Apache installation, run

The following commands append the required configuration to httpd.conf. Be sure to substitute the path returned by the preceding command in place of /usr/local/etc/httpd/httpd.conf:

Step 5. Restart Apache and test the sample script

To test your installation, see Testing your installation at the end of this document.

Testing Your Installation

To test this sample script, create a file called testsql.php in your system's document root. This is /var/www/html/ on Ubuntu, Debian, and Redhat, /srv/www/htdocs on SUSE, /var/www/localhost/htdocs on Alpine, or /usr/local/var/www on macOS. Copy the following script to it, replacing the server, database, username, and password as appropriate. On Alpine 3.11, you may also need to specify the CharacterSet as 'UTF-8' in the $connectionOptions array.

Point your browser to https://localhost/testsql.php (https://localhost:8080/testsql.php on macOS). You should now be able to connect to your SQL Server/Azure SQL database.

See Also

-->

What programs are in microsoft office for mac. Azure Data Studio runs on Windows, macOS, and Linux.

Download and install the latest release:

Note

If you're updating from SQL Operations Studio and want to keep your settings, keyboard shortcuts, or code snippets, see Move user settings.

PlatformDownloadRelease dateVersion
WindowsUser Installer (recommended)
System Installer
.zip
March 18, 20201.16.0
macOS.zipMarch 18, 20201.16.0
Linux.deb
.rpm
.tar.gz
March 18, 20201.16.0

For details about the latest release, see the release notes.

Get Azure Data Studio for Windows

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

The user installer is recommended because it does not require administrator privileges, which simplifies both installs and upgrades. The user installer does not require Administrator privileges as 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 Azure Data Studio .zip for Windows.
  2. Browse to the downloaded file and extract it.
  3. Run azuredatastudio-windowsazuredatastudio.exe

Get Azure Data Studio for macOS

  1. Download Azure Data Studio for macOS.
  2. To expand the contents of the zip, double-click it.
  3. To make Azure Data Studio available in the Launchpad, drag Azure Data Studio.app to the Applications folder.

Get Azure Data Studio for Linux

  1. Download Azure Data Studio for Linux by using one of the installers or the tar.gz archive:

  2. To extract the file and launch Azure Data Studio, open a new Terminal window and type the following commands:

    Debian Installation:

    rpm Installation:

    tar.gz Installation:

    Note

    On Debian, Redhat, and Ubuntu, you may have missing dependencies. Use the following commands to install these dependencies depending on your version of Linux:

    Debian:

    Redhat:

    Ubuntu:

Download Insiders build of Azure Data Studio

In general, users should download the stable release of Azure Data Studio above. However, if you want to try out our beta features and give us feedback, you can download an Insiders build of Azure Data Studio.

Uninstall Azure Data Studio

If you installed Azure Data Studio using the Windows installer, then uninstall the same way you remove any Windows application.

If you installed Azure Data Studio with a .zip or other archive, then simply delete the files.

Supported Operating Systems

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

Windows

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

macOS

  • macOS 10.15 Catalina
  • macOS 10.14 Mojave
  • macOS 10.13 High Sierra
  • macOS 10.12 Sierra

Linux

  • Red Hat Enterprise Linux 7.4
  • Red Hat Enterprise Linux 7.3
  • SUSE Linux Enterprise Server v12 SP2
  • Ubuntu 16.04

Recommended System Requirements

Microsoft Sql On Mac Download Full

CPU CoresMemory/RAM
Recommended48 GB
Minimum24 GB

Check for updates

Microsoft Sql On Mac Download Mac

To check for latest updates, click the gear icon on the bottom left of the window and click Check for Updates

Supported SQL offerings

  • This version of Azure Data Studio works with all supported versions of SQL Server 2014 - SQL Server 2019 (15.x) and provides support for working with the latest cloud features in Azure SQL Database and Azure SQL Data Warehouse. Azure Data Studio also provides preview support for Azure SQL Managed Instance.

Upgrade from SQL Operations Studio

If you are still using SQL Operations Studio, you need to upgrade to Azure Data Studio. SQL Operations Studio was the preview name and preview version of Azure Data Studio. In September 2018, we changed the name to Azure Data Studio and released the General Availability (GA) version. Because SQL Operations Studio is no longer being updated or supported, we ask all SQL Operations Studio users to download the latest version of Azure Data Studio to get the latest features, security updates, and fixes.

When upgrading from the old preview to the latest Azure Data Studio, you will lose your current settings and extensions. To move your settings, follow the instructions in the following Move user settings section:

Microsoft Sql On Mac Download Free

Move user settings

If you want to move your custom settings, keyboard shortcuts, or code snippets, follow the steps below. This is important to do if you are upgrading from SQL Operations Studio version to Azure Data Studio.

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

  1. Open Settings by clicking the gear on the bottom left and clicking Settings.

  2. Right-click the User Settings tab on top and click Reveal in Explorer

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

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

  5. If overriding an existing installation, delete the old install directory before installation to avoid errors connecting to your Azure account for the resource explorer.

Next Steps

See one of the following quickstarts to get started:

Microsoft Sql On Mac Download 2017

Get help for SQL tools

Contribute to SQL documentation

Microsoft Sql Server Mac Download

Did you know that you could edit the content yourself? If you do so, not only will our documentation improve, but you'll also be credited as a contributor to the page.

Windows Download Center

Microsoft Privacy Statement and usage data collection.