Skip to content

Can't connect to SQL Server instance (srv-database\SQL19) #6110

@samusmcd-lgtm

Description

@samusmcd-lgtm

⚠️ Please verify that your question has not already been reported

🛡️ Security Policy

📝 Describe your problem

Hello everyone,

I'm trying to set up Uptime Kuma to monitor my SQL Server database, but I'm having trouble getting it to connect.

My SQL Server is installed as a named instance: srv-database\SQL19.

When I enter the connection details in Kuma's "Database" settings, I keep getting a connection error. I'm not sure if I'm formatting the server name correctly for Kuma.

I've tried several formats, including:

srv-database\SQL19

srv-database\\SQL19

srv-database,1433 (the instance uses the default port)

My credentials are correct, and I can connect to this instance from other tools like SQL Server Management Studio (SSMS) using the same server name and credentials.

Is there a specific way to format a SQL Server named instance for Uptime Kuma's connection string? Any guidance would be greatly appreciated.

Thank you in advance for your help.

📝 Error Message(s) or Log

🐻 Uptime-Kuma Version

1.23.16

💻 Operating System and Arch

Debian

🌐 Browser

Firefox

🖥️ Deployment Environment

  • Runtime Environment:
    • Docker: Version X.X.X (Build Y.Y.Y)
    • Docker Compose: Version X.X.X
    • Portainer (BE/CE): Version X.X.X (LTS: Yes/No)
    • MariaDB: Version X.X.X (LTS: Yes/No)
    • Node.js: Version X.X.X (LTS: Yes/No)
    • Kubernetes (K3S/K8S): Version X.X.X (LTS: Yes/No, via [method/tool])
  • Database:
    • SQLite: Embedded
    • MariaDB: Embedded/External
  • Database Storage:
    • Filesystem:
      • Linux: ext4/XFS/Btrfs/ZFS/F2FS
      • macOS: APFS/ HFS+
      • Windows: NTFS/ReFS
    • Storage Medium: HDD/eMMC/SSD/NVMe
  • Uptime Kuma Setup:
    • Number of monitors: X

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions