> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/es/knowledge-base/how-to-articles/implement-the-database-login-mode.md).

# Implementar el modo de inicio de sesión de base de datos

Cree usuarios de SQL Server con el modo de inicio de sesión de base de datos en Remote Desktop Manager, el método de autenticación básico para bases de datos SQL y Azure SQL.

El modo ***Database login*** es el método básico de inicio de sesión para las bases de datos Microsoft SQL y Microsoft Azure SQL. El presente artículo describe cómo crear usuarios en Remote Desktop Manager con el modo ***Database login***.

{% hint style="danger" %}
Los usuarios que se autentican con el modo ***Database login*** pueden usar sus credenciales de Remote Desktop Manager para acceder directamente a la base de datos SQL. Para evitar este uso, utilice en su lugar el [modo de inicio de sesión personalizado](https://docs.devolutions.net/rdm/es/knowledge-base/how-to-articles/implement-the-custom-login-mode.md).
{% endhint %}

### Crear un inicio de sesión/usuario de SQL

1. En Remote Desktop Manager, conéctese al espacio de trabajo de Microsoft SQL Server con cualquier usuario propietario de la base de datos.
2. En ***Administration – Users***, haga clic en el botón ***Add user***.
3. En la pestaña ***General*** de la ventana ***User management***, configure el usuario de la siguiente manera:
   * En la lista desplegable ***Authentication type***, seleccione ***Database***.
   * Introduzca un ***Username*** para el usuario.
   * En el campo ***Password***, introduzca una contraseña segura. Utilice la herramienta ***Password generator*** (segundo botón junto al campo) para ayudarle a crearla. Como alternativa, marque la casilla ***Integrated security*** para utilizar las credenciales de la sesión actual de Windows para autenticarse.
   * Asegúrese de marcar la casilla ***Create database login/user***; de lo contrario, el espacio de trabajo permanecerá inaccesible hasta que un administrador cree manualmente un inicio de sesión/usuario en el servidor SQL.
4. Haga clic en ***OK*** para guardar la nueva configuración de usuario.

### Resolución de problemas

En ocasiones existe una discrepancia entre los derechos de usuario en Remote Desktop Manager y en la base de datos SQL. Para solucionarlo, haga clic en el botón ***Fix SQL login*** (icono de martillo).


---

# 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.devolutions.net/rdm/es/knowledge-base/how-to-articles/implement-the-database-login-mode.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.
