Microsoft Sql Server Mac Os Download

-->
  1. Microsoft Sql Server Management Studio Mac
  2. Microsoft Sql Server For Mac Download

Microsoft SQL Server JDBC for macOS. This tutorial shows how to set up a data source and connect to a Microsoft ® SQL Server ® database using the Database Explorer app or the command line. This tutorial uses the Microsoft JDBC Driver 4.0 for Microsoft SQL Server to connect to a Microsoft SQL Server 2016 Express database. May 15, 2017 This post was authored by Meet Bhagdev, Program Manager, Microsoft Hi, all. We are delighted to share the production-ready release of the Microsoft ODBC Driver 13.1 for macOS El Capitan and Sierra. The new driver enables access to SQL Server, Azure SQL Database and Azure SQL DW from any C/C application on macOS. Added NativeRead more. Mar 26, 2018  Microsoft ODBC Driver 13.1 for SQL Server is a single dynamic-link library (DLL) containing run-time support for applications using native-code APIs to connect to Microsoft SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, SQL Server 2016, Analytics Platform System, Azure SQL Database and Azure SQL Data Warehouse.

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.

APPLIES TO: SQL Server Azure SQL Database Azure Synapse Analytics (SQL DW) Parallel Data Warehouse

SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure, from SQL Server to Azure SQL Database. SSMS provides tools to configure, monitor, and administer instances of SQL Server and databases. Use SSMS to deploy, monitor, and upgrade thes new

For details and more information about what's new in this release, see SSMS release notes.

There are a few known issues with this release.

Previous versions

This article is for the latest version of SSMS only. To download previous versions of SSMS, visit Previous SSMS releases.

Unattended install

You can also install SSMS using a command prompt script.

If you want to install SSMS in the background with no GUI prompts, then follow the steps below.

  1. Launch the command prompt with elevated permissions.

  2. Type the command below in the command prompt.

    Example:

    You can also pass /Passive instead of /Quiet to see the setup UI.

    To switch to Contacts view, press Command-3.Tasks: A built-in task manager with calendar tie-in. Microsoft help view. To switch to Calendar view, press Command-2.Contacts: Outlook 2011 supports W3C standard vCard protocol and Microsoft Exchange calendar protocol.

  3. If all goes well, you can see SSMS installed at %systemdrive%SSMStoCommon7IDESsms.exe' based on the example. If something went wrong, you could inspect the error code returned and take a peek at the %TEMP%SSMSSetup for the log file.

Supported SQL offerings (SSMS 18.5)

  • This version of SSMS works with all supported versions of SQL Server 2008 - SQL Server 2019 (15.x) and provides the greatest level of support for working with the latest cloud features in Azure SQL Database and Azure SQL Data Warehouse.
  • Additionally, SSMS 18.x can be installed side by side with SSMS 17.x, SSMS 16.x, or SQL Server 2014 SSMS and earlier.
  • SQL Server Integration Services (SSIS) - SSMS version 17.x or later doesn't support connecting to the legacy SQL Server Integration Services service. To connect to an earlier version of the legacy Integration Services, use the version of SSMS aligned with the version of SQL Server. For example, use SSMS 16.x to connect to the legacy SQL Server 2016 Integration Services service. SSMS 17.x and SSMS 16.x can be installed side by side on the same computer. Since the release of SQL Server 2012, the SSIS Catalog database, SSISDB, is the recommended way to store, manage, run, and monitor Integration Services packages. For details, see SSIS Catalog.

Supported operating systems (SSMS 18.5)

This release of SSMS supports the following 64-bit platforms when used with the latest available service pack:

  • Windows 10 (64-bit) *
  • Windows 8.1 (64-bit)
  • Windows Server 2019 (64-bit)
  • Windows Server 2016 (64-bit) *
  • Windows Server 2012 R2 (64-bit)
  • Windows Server 2012 (64-bit)
  • Windows Server 2008 R2 (64-bit)

* Requires version 1607 (10.0.14393) or later

Note

SSMS runs on Windows (AMD or Intel) only. If you need a tool that runs on platforms other than Windows, take a look at Azure Data Studio. Azure Data Studio is a new cross-platform tool that runs on macOS, Linux, as well as Windows. For details, see Azure Data Studio.

Get help for SQL tools

See also

Contribute to SQL documentation

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.

-->

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:

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

Sql

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

Microsoft Sql Server Management Studio Mac

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

Microsoft Sql Server For Mac Download

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:

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

Comments are closed.