phpmyadmin mysql server to configure a remote connection

  1. First, go to the directory / phpmyadmin / libraries

  2. Open the directory in which config.default.php file
    find and modify the following:

    $cfg['AllowArbitraryServer'] = false;修改成:$cfg['AllowArbitraryServer'] = true;
    $cfg['Servers'][$i]['host'] = '';改为Mysql服务器的ip地址
    $cfg['Servers'][$i]['port'] = '';改为Mysql服务器的端口
    $cfg['Servers'][$i]['user'] = 'root';改为Mysql服务器的用户名
    $cfg['Servers'][$i]['password'] = '';改为Mysql服务器的密码
  3. When the connection is re-access phpmyadmin newly configured server Mysql

Guess you like

Origin blog.51cto.com/14284354/2414558