> For the complete documentation index, see [llms.txt](https://docs.rmhpos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rmhpos.com/installation/install-store-manager-single-store/installation-sm-connect-to-db.md).

# Connect to the licensed store database and force install tables

{% hint style="success" %}
You can run Force Install Tables as an executable in **Command Prompt** or **PowerShell**. This allows you to update or repair the store database without opening Store Administrator or Store Manager. Refer to [**Run Force Install Tables as an executable**](/installation/other-procedures/force-install-tables-executable.md) for more information.
{% endhint %}

1. In **Store Administrator**, connect to the licensed store database. Refer to [**Connect to SQL Server and the store database**](/installation/install-store-manager-single-store/installation-sm-connect-sql-server.md) for more information.
2. In the **Database** pane, click **Force Install Tables**.

{% hint style="info" %}
Starting with release 3.11.14, the Force Install Tables function will no longer create the SYNCGUID column in the RMH or third party app tables. The Prepare Database function will create the SYNCGUID column in the RMH table, but it will no longer create it in third party app tables.
{% endhint %}

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

3. Click **Yes** to continue.

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

4. Wait while **Store Administrator** executes the SQL scripts to create RMH custom tables in the store database. This may take a few minutes.
5. Click **OK** to close the confirmation dialog.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.rmhpos.com/installation/install-store-manager-single-store/installation-sm-connect-to-db.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
