chore: show runtime DB server identity in db_diag
Add config and server-level DB identity fields (host/port/user, @@hostname/@@port/@@version) to packaging-units db_diag so production can verify the exact runtime DB endpoint.
This commit is contained in:
@@ -3,7 +3,13 @@
|
||||
<section class="rounded border border-amber-300 bg-amber-50 px-3 py-2 text-xs text-amber-900">
|
||||
<div class="font-semibold mb-1">DB 진단 모드</div>
|
||||
<div>lg_idx: <?= esc((string) ($dbDiag['lg_idx'] ?? 'null')) ?></div>
|
||||
<div>cfg_host: <?= esc((string) ($dbDiag['cfg_host'] ?? '')) ?></div>
|
||||
<div>cfg_port: <?= esc((string) ($dbDiag['cfg_port'] ?? '')) ?></div>
|
||||
<div>cfg_user: <?= esc((string) ($dbDiag['cfg_user'] ?? '')) ?></div>
|
||||
<div>database: <?= esc((string) ($dbDiag['db_name'] ?? '')) ?></div>
|
||||
<div>mysql_host(@@hostname): <?= esc((string) ($dbDiag['mysql_host'] ?? '')) ?></div>
|
||||
<div>mysql_port(@@port): <?= esc((string) ($dbDiag['mysql_port'] ?? '')) ?></div>
|
||||
<div>mysql_version(@@version): <?= esc((string) ($dbDiag['mysql_version'] ?? '')) ?></div>
|
||||
<div>packaging_unit(현재 lg): <?= esc((string) ($dbDiag['packaging_unit'] ?? 'null')) ?></div>
|
||||
<div>code_kind: <?= esc((string) ($dbDiag['code_kind'] ?? 'null')) ?></div>
|
||||
<div>code_detail: <?= esc((string) ($dbDiag['code_detail'] ?? 'null')) ?></div>
|
||||
|
||||
Reference in New Issue
Block a user