{
  "id": "go/database-sql-connection-refused",
  "signature": "error: dial tcp 127.0.0.1:3306: connect: connection refused",
  "signature_zh": "错误：拨号 tcp 127.0.0.1:3306：连接被拒绝",
  "regex": "error:\\ dial\\ tcp\\ 127\\.0\\.0\\.1:3306:\\ connect:\\ connection\\ refused",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The database server is not running or is unreachable at the specified address and port.",
  "root_cause_type": "generic",
  "root_cause_zh": "数据库服务器未运行或在指定地址和端口上不可达。",
  "versions": [
    {
      "version": "1.20",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the server is down, retrying without fixing the server will not help.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The driver is not the issue; the server is unreachable.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Ensure the database server is running and accessible from the application's network.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Use a connection retry mechanism with backoff.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.89,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-07-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}