{{ $error }}
@endforeach@if ($systemDatabase['mode'] === 'bootstrap') 当前仅用于首次登录。连接团队共享系统数据库后,用户、权限、设置和云数据库配置才会统一。 @else 当前已使用团队共享系统数据库,系统用户、侧边栏权限、系统设置和云数据库配置都保存在这里。 @endif
| 名称 | 地址 | 数据库 | 操作 |
|---|---|---|---|
|
{{ $systemDatabase['name'] }}
$systemDatabase['mode'] === 'bootstrap',
'bg-green-100 text-[#53793E]' => $systemDatabase['mode'] === 'shared',
])>
{{ $systemDatabase['mode'] === 'bootstrap' ? '临时 · 待切换' : '共享 · 已连接' }}
{{ strtoupper($systemDatabase['driver']) }} 系统数据库 |
{{ $systemDatabase['host'] }}{{ $systemDatabase['port'] ? ':' . $systemDatabase['port'] : '' }} | {{ $systemDatabase['database'] ?: $systemDatabase['connection'] }} | {{ $systemDatabase['mode'] === 'bootstrap' ? '连接' : '重新验证' }} |
可以添加多个。每条密码均加密保存到上方的财务系统配置数据库。
| 名称 | 地址 | 数据库 | 状态 | 操作 |
|---|---|---|---|---|
| {{ $connection->name }}{{ match ($connection->driver) { 'pgsql' => 'PostgreSQL · SSL', 'mysql' => 'MySQL / MariaDB · TLS', default => 'SQL Server' } }} | {{ $connection->host }}:{{ $connection->port }} | {{ $connection->database_name }} | $connection->enabled, 'bg-gray-100 text-gray-600' => ! $connection->enabled, ])>{{ $connection->enabled ? '启用' : '停用' }} | 修改 |
| {{ $systemDatabase['mode'] === 'bootstrap' ? '连接团队共享系统数据库后,两套云数据库配置会自动显示在这里。' : '共享系统数据库中还没有云数据库配置。' }} | ||||