帖子

(编辑于 3 个月前)

#phpmyadmin# 增加多 #mysql# 服务器管理,并通过配置文件设置 #mysql# 服务器密码

foreach ([
    'localhost' => ['password' => 'password'],
    'server1' => ['password' => 'server1_password'],
] as $host => $config) {
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['host'] = $host;
    foreach ($config as $k => $v) {
        $cfg['Servers'][$i][$k] = $v;
    }
    $i++;
}

未登录无法操作

登录 注册

评论 0

列表为空,暂无内容