> 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/knowledge-base/troubleshooting-articles/connection-issues-with-sql-workspaces.md).

# Connection issues with SQL workspaces

Users unable to connect to their Microsoft SQL Server or Microsoft Azure SQL workspaces through Remote Desktop Manager may face challenges due to various network or configuration issues.

### Solution

1. Open Command Prompt or Terminal and use the `ping` command to check the network connection to the server hosting the SQL database. This ensures that the server is reachable over the network.
2. Attempt to connect to the SQL server using SSMS. This step verifies whether credentials and network permissions are correctly configured to access the SQL workspace.
3. If a connection via SSMS is established, the issue might be with RDM's configuration. Try recreating the connection within RDM to see if it resolves the issue.
4. If connection is still impossible, consider creating a portable version of RDM. This might bypass potential application-specific configuration issues.
5. If none of the above steps resolve the problem, the issue likely stems from the network configurations or restrictions. Consult with a network administrator to further diagnose and resolve network-related connectivity problems.

### Additional tips

* Ensure that firewall settings on both your local machine and the network do not block RDM or SQL Server.
* Check if there are any recent changes in network policies or credentials that might affect connectivity.
* Regularly update RDM and SSMS to the latest versions to avoid compatibility issues.


---

# 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:

```
GET https://docs.devolutions.net/rdm/knowledge-base/troubleshooting-articles/connection-issues-with-sql-workspaces.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.
