xiaoyanbot
V2EX  ›  问与答

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

  •  
  •   xiaoyanbot · Mar 8, 2018 · 1505 views
    This topic created in 3013 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   ·   897 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 22:33 · PVG 06:33 · LAX 15:33 · JFK 18:33
    ♥ Do have faith in what you're doing.