# 连接错误

连接在线数据库时，至少有两台电脑参与完成这项任务，你的个人电脑和数据库服务器。通常还有很多中介，如 DNS 服务器，代理服务器和防火墙。因此连接在线数据库实际情况很复杂

最基本的问题可能有以下4种：

* [没有互联网连接](/troubleshooting/problems-connecting-to-the-internet.md)
* [找不到主机](/troubleshooting/problems-finding-the-host.md)
* [连不上主机](/troubleshooting/problems-connecting.md)
* [不能和主机通信](/troubleshooting/problems-communicating-with-the-host.md)


---

# 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://kb.howsci.com/troubleshooting/troubleshooting-connections.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.
