Do not operate on your original phpMyAdmin folder ~ ~ ~ To copy a new operation, so that we can use both local and remote
?
First, download phpMyAdmin to local
I am using the integrated wamp software under Windows Phpstudy
Second, modify the config.default.php file under the Libraries folder
1, find $cfg[' Pmaabsoluteuri '], set its value to your local phpMyAdmin path, for example $cfg[' pmaabsoluteuri '] = ' http://localhost:9096/192.168.2.1/ ‘;
2. Find $cfg[' Servers ' [$i] [' Host '] and set its value to your MySQL database address, e.g. 192.168.2.1
$cfg [' Servers '] [$i] [' host '] = ' 192.168.2.1 ';
3. Find $cfg[' Servers ' [$i] [' User '] and set its value to your MySQL database user name, such as ABCD
$cfg [' Servers '] [$i [' user '] = ' online database user name ';
4, find $cfg[' Servers ' [$i] [' Password '], set its value to your MySQL database password, such as root
$cfg [' Servers '] [$i] [' password '] = ' online database password ';
5. Find $cfg [' Servers '] [$i] [' Auth_type '] and set its value to phpMyAdmin login mode
$cfg [' Servers '] [$i] [' auth_type '] = ' cookie ';
?
?
11th phpMyAdmin Connecting a remote MySQL server---Connecting a openwrt 703N server