Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug]: All the database names in `sys.databases` are set to “master”

Đang mở
#139 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ericjulien đang làm issue này rồi.

Từ ngày 25/8/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug needs-triage User-filled
Container image tag

sqldbpreview-dpgaeqhmgphzd4bk.azurecr.io/azure-sql/db-dev:latest

Host OS

Windows 11 (x86_64)

Container runtime and version

Docker version 29.1.3, build f52814d

What happened

When I connect to the master database and query sys.databases, all database names are displayed as “master.”
I was able to resolve this to the correct database names by using the DB_NAME() function.

Image
Steps to reproduce

In environments launched with MSSQL_PID=Developer, the system database appears to display unexpected content.

You can reproduce this using the following command.

docker run -it --rm --name sqldbdev --publish 127.0.0.1:50001:1433 --env ACCEPT_EULA=Y --env MSSQL_PID=Developer --env "MSSQL_SA_PASSWORD=$ENV:SQLPASS" sqldbpreview-dpgaeqhmgphzd4bk.azurecr.io/azure-sql/db-dev
Additional context

No response

Confirmation
  • I scanned open issues and Known limitations for a duplicate.
Ngôn ngữ chính
Shell
Star
17
Fork
4
Merge trung bình
19 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/azure-sql-database-container

Tất cả issue của microsoft/azure-sql-database-container

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.