Microsoft Sql Server 2012 For Mac

  1. Microsoft Sql Server
  2. Microsoft Sql Server 2012 Express For Mac
  3. Microsoft Sql Server 2012 Express
-->

May 18, 2017  A quick Google search for sql for mac os x found dozens of options. MS Sql server requires Windows Server, so no, it will not run natively under OS X. Plenty of commercial and many open source SQL flavors available for OS X - MySQL, PostgreSQL, SequelPro, FirebirdSQL. The list is long. May 16, 2017 This post was authored by Meet Bhagdev, Program Manager, Microsoft We are delighted to share the production-ready release of the SQL Server Command Line Tools (sqlcmd and bcp) on macOS El Capitan and Sierra. The sqlcmd utility is a command-line tool that lets you submit T-SQL statements or batches to local and remote instances ofRead more. We would like to show you a description here but the site won’t allow us. Microsoft sql 2012 free download - Microsoft SQL Server 2012 SP1, MCSA70-461 Real Exam Simulator: Querying Microsoft SQL Server 2012, MCSA70-462 Real Exam Simulator: Administering Microsoft SQL. The Microsoft Lifecycle Policy gives you consistent and predictable guidelines for the availability of support throughout the life of a product.

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

This article provides guidance for installing, updating, and uninstalling SQL Server 2017 and SQL Server 2019 on Linux.

For other deployment scenarios, see:

Tip

This guide covers several deployment scenarios. If you are only looking for step-by-step installation instructions, jump to one of the quickstarts:

For answers to frequently asked questions, see the SQL Server on Linux FAQ.

Supported platforms

SQL Server is supported on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), and Ubuntu. It is also supported as a Docker image, which can run on Docker Engine on Linux or Docker for Windows/Mac.

PlatformSupported version(s)Get
Red Hat Enterprise Linux7.3, 7.4, 7.5, 7.6Get RHEL 7.6
SUSE Linux Enterprise Serverv12 SP2Get SLES v12 SP2
Ubuntu16.04Get Ubuntu 16.04
Docker Engine1.8+Get Docker
PlatformSupported version(s)Get
Red Hat Enterprise Linux7.3, 7.4, 7.5, 7.6, 8.0Get RHEL 8.0
SUSE Linux Enterprise Serverv12 SP2, SP3, SP4, SP5Get SLES v12
Ubuntu16.04, 18.04Get Ubuntu 18.04
Docker Engine1.8+Get Docker

Microsoft also supports deploying and managing SQL Server containers by using OpenShift and Kubernetes.

Note

SQL Server is tested and supported on Linux for the previously listed distributions. If you choose to install SQL Server on an unsupported operating system, please review the Support policy section of the Technical support policy for Microsoft SQL Server to understand the support implications.

System requirements

SQL Server has the following system requirements for Linux:

Memory2 GB
File SystemXFS or EXT4 (other file systems, such as BTRFS, are unsupported)
Disk space6 GB
Processor speed2 GHz
Processor cores2 cores
Processor typex64-compatible only

If you use Network File System (NFS) remote shares in production, note the following support requirements:

  • Use NFS version 4.2 or higher. Older versions of NFS do not support required features, such as fallocate and sparse file creation, common to modern file systems.
  • Locate only the /var/opt/mssql directories on the NFS mount. Other files, such as the SQL Server system binaries, are not supported.
  • Ensure that NFS clients use the 'nolock' option when mounting the remote share.

Configure source repositories

When you install or upgrade SQL Server, you get the latest version of SQL Server from your configured Microsoft repository. The quickstarts use the Cumulative Update CU repository for SQL Server. But you can instead configure a GDR repository. For more information on repositories and how to configure them, see Configure repositories for SQL Server on Linux.

Install SQL Server

You can install SQL Server 2017 or SQL Server 2019 on Linux from the command line. For step-by-step instructions, see one of the following quickstarts:

PlatformInstallation quickstarts
Red Hat Enterprise Linux (RHEL)2017 2019
SUSE Linux Enterprise Server (SLES)2017 2019
Ubuntu2017 2019
Docker2017 2019

You can also run SQL Server on Linux in an Azure virtual machine. For more information, see Provision a SQL VM in Azure.

After installing, consider making additional configuration changes for optimal performance. For more information, see Performance best practices and configuration guidelines for SQL Server on Linux.

Update or Upgrade SQL Server

To update the mssql-server package to the latest release, use one of the following commands based on your platform:

PlatformPackage update command(s)
RHELsudo yum update mssql-server
SLESsudo zypper update mssql-server
Ubuntusudo apt-get update
sudo apt-get install mssql-server

These commands download the newest package and replace the binaries located under /opt/mssql/. The user generated databases and system databases are not affected by this operation.

To upgrade SQL Server, first change your configured repository to the desired version of SQL Server. Then use the same update command to upgrade your version of SQL Server. This is only possible if the upgrade path is supported between the two repositories.

Rollback SQL Server

To rollback or downgrade SQL Server to a previous release, use the following steps:

  1. Identify the version number for the SQL Server package you want to downgrade to. For a list of package numbers, see the Release notes.

  2. Downgrade to a previous version of SQL Server. In the following commands, replace <version_number> with the SQL Server version number you identified in step one.

    PlatformPackage update command(s)
    RHELsudo yum downgrade mssql-server-<version_number>.x86_64
    SLESsudo zypper install --oldpackage mssql-server=<version_number>
    Ubuntusudo apt-get install mssql-server=<version_number>
    sudo systemctl start mssql-server

Note

It is only supported to downgrade to a release within the same major version, such as SQL Server 2019.

Check installed SQL Server version

To verify your current version and edition of SQL Server on Linux, use the following procedure:

  1. If not already installed, install the SQL Server command-line tools.

  2. Use sqlcmd to run a Transact-SQL command that displays your SQL Server version and edition.

    Microsoft office 2011 mac activation code. Dec 03, 2018  Office for Mac 2011 - activation key Suddenly I cannot open any Office 2011 application on my old Macbook. Microsoft is asking for an activation key, and I no longer know what it is. Once you have your product key, see Activate Office for Mac 2011. When you install or reinstall Microsoft Office, you are prompted to enter the product key. The product key is used during installation to 'unlock' the software. If you have a one-time purchase of Office for Mac 2011, you’ll need a product key to activate. Find your product key for Office for Mac 2011. In the Get Started wizard, click Enter your purchased product key. Tip: If the wizard isn’t open, start an Office application and click Activate Now. Jul 15, 2018  To check if this issue is related to Office, please follow the steps below to remove all keychains about Office then activate your Office again to see the outcome: 1. Quit all Office apps. Open Keychain Access.app.(Applications Utilities Keychain Access.app or type Keychain into Launchpad search) 3. Search All Items for OneDrive, Office, outlook.

Microsoft Sql Server

Uninstall SQL Server

Microsoft Sql Server 2012 Express For Mac

To remove the mssql-server package on Linux, use one of the following commands based on your platform:

PlatformPackage removal command(s)
RHELsudo yum remove mssql-server
SLESsudo zypper remove mssql-server
Ubuntusudo apt-get remove mssql-server

Removing the package does not delete the generated database files. If you want to delete the database files, use the following command:

Unattended install

You can perform an unattended installation in the following way:

  • Follow the initial steps in the quickstarts to register the repositories and install SQL Server.
  • When you run mssql-conf setup, set environment variables and use the -n (no prompt) option.

The following example configures the Developer edition of SQL Server with the MSSQL_PID environment variable. It also accepts the EULA (ACCEPT_EULA) and sets the SA user password (MSSQL_SA_PASSWORD). The -n parameter performs an unprompted installation where the configuration values are pulled from the environment variables.

You can also create a script that performs other actions. For example, you could install other SQL Server packages.

For a more detailed sample script, see the following examples:

Offline install

If your Linux machine does not have access to the online repositories used in the quick starts, you can download the package files directly. These packages are located in the Microsoft repository, https://packages.microsoft.com.

Tip

If you successfully installed with the steps in the quick starts, you do not need to download or manually install the SQL Server package(s). This section is only for the offline scenario.

  1. Download the database engine package for your platform. Find package download links in the package details section of the Release Notes.

  2. Move the downloaded package to your Linux machine. If you used a different machine to download the packages, one way to move the packages to your Linux machine is with the scp command.

  3. Install the database engine package. Use one of the following commands based on your platform. Replace the package file name in this example with the exact name you downloaded.

    PlatformPackage install command
    RHELsudo yum localinstall mssql-server_versionnumber.x86_64.rpm
    SLESsudo zypper install mssql-server_versionnumber.x86_64.rpm
    Ubuntusudo dpkg -i mssql-server_versionnumber_amd64.deb

    Note

    You can also install the RPM packages (RHEL and SLES) with the rpm -ivh command, but the commands in the previous table automatically install dependencies if available from approved repositories.

  4. Resolve missing dependencies: You might have missing dependencies at this point. If not, you can skip this step. On Ubuntu, if you have access to approved repositories containing those dependencies, the easiest solution is to use the apt-get -f install command. This command also completes the installation of SQL Server. To manually inspect dependencies, use the following commands:

    The base MacBook Air comes with a Core i5 CPU, 8GB of RAM and a 128GB SSD — specs that are similar to the lowest-priced Surface Laptop 3 — but the MacBook Air costs a bit more, at $1,099. Oct 17, 2019  Apple MacBook Air Microsoft's recent Surface Laptop 3 updates to its Surface Laptop line fall into two camps. The 13-inch model, an upgrade to the Surface Laptop 2. Oct 04, 2019  The Surface Laptop 3 has a wider selection of ports than MacBook Air. It gets a USB-A port, a USB-C port, a 3.5mm headphone jack, and a Surface Connect port. However, it doesn’t support Thunderbolt 3. Oct 04, 2019  As described above, there isn't a lot separating the Surface Laptop 3 and the MacBook Air physically. Both are thin, nice-looking laptops with modern features and sharp screens. That said, the. Microsoft surface laptop 3 vs apple macbook air.

    PlatformList dependencies command
    RHELrpm -qpR mssql-server_versionnumber.x86_64.rpm
    SLESrpm -qpR mssql-server_versionnumber.x86_64.rpm
    Ubuntudpkg -I mssql-server_versionnumber_amd64.deb

    After resolving the missing dependencies, attempt to install the mssql-server package again.

  5. Complete the SQL Server setup. Use mssql-conf to complete the SQL Server setup:

Licensing and pricing

SQL Server is licensed the same for Linux and Windows. For more information about SQL Server licensing and pricing, see How to license SQL Server.

Optional SQL Server features

After installation, you can also install or enable optional SQL Server features.

Get help

Microsoft Sql Server 2012 Express

Tip

For answers to frequently asked questions, see the SQL Server on Linux FAQ.