Find the config.inc.php file in your phpmyadmin directory and open it with DW (note that you must not open it with Notepad, if it is a uft8 encoded file, you may have problems)
Find
The 'localhost' after ['host'] is changed to the remote database IP
The code is as follows
代码如下 |
复制代码 |
$cfg['Servers'][$i]['host'] = '192.168.1.10';
|
|
Copy code
|
$cfg['Servers'][$i]['host'] = '192.168.1.10';
Note: 192.168.1.10 is the IP of the remote database |
Finally, restart mysql. The command mode is as follows
After modification---Start menu----Run----cmd (Enter)----net stop mysql (Enter)--------net start mysql (Enter) )
If you don’t know the command method, we can enter the service console of the computer, then find mysql.exe in the application server and restart it.
http://www.bkjia.com/PHPjc/628930.htmlwww.bkjia.comtrue
http: //www.bkjia.com/PHPjc/628930.htmlFind the config.inc.php file in your phpmyadmin directory and open it with DW (note that you must not open it with Notepad Oh, if it is a uft8 encoded file, I am afraid there will be a problem) After finding ['host']...