xiaoyanbot
V2EX  ›  问与答

phpmyadmin $cfg['Servers']配置参数,选择服务器,怎样配置不显示主机地址。

  •  
  •   xiaoyanbot · Mar 8, 2018 · 1511 views
    This topic created in 3019 days ago, the information mentioned may be changed or developed.
    $i++;
    /* Authentication type */
    $cfg['Servers'][$i]['auth_type'] = 'cookie';
    /* Server parameters */
    $cfg['Servers'][$i]['host'] = 'localhost';
    $cfg['Servers'][$i]['compress'] = false;
    $cfg['Servers'][$i]['AllowNoPassword'] = false;
    

    例如:连接本地服务器,不显示 localhost,而是显示自己配置的变量。

    1 replies    2018-03-08 11:42:35 +08:00
    cevincheung
        1
    cevincheung  
       Mar 8, 2018
    原生不支持吧。
    配合 hosts 试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1529 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 16:48 · PVG 00:48 · LAX 09:48 · JFK 12:48
    ♥ Do have faith in what you're doing.