# Install Microsoft SQL Server

The RMH apps used Microsoft SQL Server for data storage. You must install a version of Microsoft SQL Server that is capable of meeting the store's current and future needs for data storage, memory, and processing power.

{% hint style="warning" %}
This topic is provided as an example only. Refer to the official Microsoft documentation if you install Microsoft SQL Server in stores.
{% endhint %}

1. Go to [**https://www.microsoft.com/en-us/sql-server/sql-server-downloads**](https://www.microsoft.com/en-us/sql-server/sql-server-downloads).

<div align="left"><img src="/files/zsplrYJwgs4t46E6zlaL" alt=""></div>

2. Under **Express**, click **Download now**. The setup executable is downloaded to your computer.

{% hint style="warning" %}
This procedure demonstrates how to install Microsoft SQL Server Express. This version of SQL Server may not be sufficient to meet a store's needs for data storage, memory, and processing power.
{% endhint %}

<div align="left"><img src="/files/nMEa4Ua5U0S6RNBAW45u" alt=""></div>

3. Go to your **Downloads** folder.

<div align="left"><img src="/files/ntAeU7EEJHZQfAzlucAq" alt=""></div>

4. Double-click the Microsoft SQL Server setup executable.
5. If prompted **Do you want to allow this app to make changes to your device?**, click **Yes**.
6. On the **Select an installation type** screen of the installation wizard, click **Custom**.

{% hint style="info" %}
You must select **Custom** so you can select the features you want to install, configure the instance name, and select the authentication mode.
{% endhint %}

<div align="left"><img src="/files/xNf3I0sKsCkH4xip4GoB" alt=""></div>

7. On the **Specify SQL Server media download target location** screen of the installation wizard, select a download location for the installation package.

<div align="left"><img src="/files/YSByH6zPrVaxN1kSW86x" alt=""></div>

8. Click **Install**. The installation package is downloaded and the **SQL Server Installation Center** dialog displays.
9. Click **New SQL Server standalone installation or add features to an existing installation**.

<div align="left"><img src="/files/MLcEEtLCVDwUI0AIfL4a" alt=""></div>

10. On the **License Terms** screen, select **I accept the license terms and Privacy Statement** and click **Next**.

<div align="left"><img src="/files/cl5ZTazLWzEYHXwgLBA0" alt=""></div>

11. On the **Microsoft Update** screen, select **Use Microsoft Update to check for updates** and click **Next**.

<div align="left"><img src="/files/mwrLs9xvoTTVIHDTWTuH" alt=""></div>

12. On the **Install Rules** screen, review any issues that were identified and fix them, then click **Next**.

<div align="left"><img src="/files/SFVFw0sw4VlnfyX98yJk" alt=""></div>

For example, there is a Windows Firewall warning because port 1433 is not open, which will prevent remote access to Microsoft SQL Server.

<div align="left"><img src="/files/mqwDh3WKq8tjvh458Fdk" alt=""></div>

13. On the **Azure Extension for SQL Server** screen, clear the checkbox beside **Azure Extension for SQL Server** and click **Next**.

<div align="left"><img src="/files/5Lrmx4sDUQTbA4SSfA3v" alt=""></div>

14. On the **Feature Selection** screen, select **Database Engine Services**, clear all other check marks, and click **Next**.

<div align="left"><img src="/files/G0INSuO6U0EKuGqspPPD" alt=""></div>

15. On the **Instance Configuration** screen, enter a different **Named instance** if desired and click **Next**.

<div align="left"><img src="/files/UOlzNZNAxfeSmzee75uO" alt=""></div>

16. On the **Server Configuration** screen, accept the defaults and click **Next**.

{% hint style="info" %}
You do not need to enter a **Password** or change the **Startup Type**. You also do not need to select **Grant Perform Volume Maintenance Tasks privilege to SQL Server Database Engine Service**.
{% endhint %}

<div align="left"><img src="/files/yC0bUfZaOVY96tCbrBlD" alt=""></div>

17. On the **Database Engine Configuration** screen, select **Mixed Mode** and enter a password.

{% hint style="warning" %}
This is the most critical step in the installation. When you connect to the SQL Server, you want to use SQL Authentication. If you use Windows Authentication, the owner of the database will be the Windows user. If you use SQL Authentication, the owner of the database will be a SQL user.
{% endhint %}

<div align="left"><img src="/files/67vFrE76YrdAQCdvyVx3" alt=""></div>

18. Wait while installation and configuration are completed. This may take a few minutes.

<div align="left"><img src="/files/vMyeA0WyNNc0EcrTAgp7" alt=""></div>

19. On the **Complete** screen, review the installation results.

<div align="left"><img src="/files/eOwHzHUd6Xcx9HQInyLK" alt=""></div>

20. Click **Close**.

{% hint style="info" %}
If the Microsoft SQL Server instance is installed on a remote computer, you will need to enable TCP/IP and open port 1433 to allow the RMH apps to communicate with SQL Server.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rmhpos.com/installation/install-microsoft-sql-server/installation-sql-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
