Local access a remote database server phpmyadmin

  1.  

    Step one: Open / phpmyadmin / libraries directory

  2.  

    Step two: Modify config.default.php file (vim editor, FreeBSD is available under ee or vi editor under linux available) to find "AllowArbitraryServer" Code Content

    $ Cfg [ 'AllowArbitraryServer'] = false; modified: $ cfg [ 'AllowArbitraryServer'] = true;

    The $ cfg [ 'Servers'] [$ i] [ 'host'] = ''; ip address to the server you

    The $ cfg [ 'Servers'] [$ i] [ 'port'] = ''; server port to your

    The $ cfg [ 'Servers'] [$ i] [ 'user'] = 'root'; server to your username

    The $ cfg [ 'Servers'] [$ i] [ 'password'] = ''; password to the server you

    3.

    The third step: in the address bar localhost: 3336 / phpmyadmin, enter the server address, user name, password.

     

     

     

Guess you like

Origin www.cnblogs.com/bluealine/p/11505702.html