> 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/es/installation/install-central-manager-multi-store/installation-cm-connect-to-central-db.md).

# Conectarse a SQL Server y a la base de datos Central y forzar la instalación de tablas

Este tema describe cómo conectarse a SQL Server y a la base de datos Central en Central Administrator, y cómo actualizar las tablas de la base de datos Central usando la función Forzar instalación de tablas.

{% hint style="success" %}
Puede ejecutar Force Install Tables como un ejecutable en **Símbolo del sistema** o **PowerShell**. Esto le permite actualizar o reparar la base de datos Central sin abrir Central Administrator o Central Manager. Consulte [**Ejecutar Force Install Tables como un ejecutable**](/es/installation/other-procedures/force-install-tables-executable.md) para obtener más información.
{% endhint %}

1. Abra **Central Administrator**. El acceso directo debería estar disponible en su escritorio.
2. Haga clic en **Conectar**.

<div align="left"><img src="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-1744118a81962de6b9895d01e012361c5a91de1b%2Fcentral-administrator.png?alt=media" alt=""></div>

3. En el **Servidor** , seleccione el nombre de host del equipo donde instaló SQL Server y el nombre de la instancia de SQL Server.

<div align="left"><img src="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-f4bd2a966db041aee0298c39e5f30d5f4343acf7%2Fcentral-administrator-connect-filled.png?alt=media" alt=""></div>

4. En **Información de conexión**, seleccione **Usar autenticación de SQL Server**.
5. Introduzca el **Nombre de usuario** y **Contraseña** de la cuenta del sistema.
6. En **Base de datos**, seleccione la base de datos Central.
7. Haga clic en **Conectar**. Se dará cuenta de que las funciones del menú Base de datos ahora están accesibles.

<div align="left"><img src="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-d9989699948674af8a843c5e4a71af8ca9002ed7%2Fcentral-administator-database-menu.png?alt=media" alt=""></div>

8. En el **Base de datos** menú, haga clic en **Force Install Tables**.

{% hint style="info" %}
A partir de la versión 3.11.14, la función Force Install Tables ya no crea la columna SYNCGUID en las tablas de RMH ni en las tablas de aplicaciones de terceros. La función Preparar base de datos creará la columna SYNCGUID en la tabla de RMH, pero ya no la creará en las tablas de aplicaciones de terceros.
{% endhint %}

9. Haga clic en **Sí** para continuar.

<div align="left"><img src="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-2ac289c3b3d6ee670e2ed934529194fb25e9934a%2Fcentral-administrator-force-install-tables.png?alt=media" alt=""></div>

10. Espere mientras **Central Administrator** ejecuta los scripts SQL para crear tablas personalizadas de RMH en la base de datos Central. Esto puede tardar unos minutos.
11. Haga clic en **Aceptar** para cerrar el cuadro de diálogo de confirmación.

<div align="left"><img src="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-9c0e3f65880cda54f8c77c6e48bac1d1170154e7%2Fcentral-administrator-force-install-tables-confirm.png?alt=media" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rmhpos.com/es/installation/install-central-manager-multi-store/installation-cm-connect-to-central-db.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
