This article describes in detail the PHPMyAdmin database connection port setting code. For more information, see this article to introduce the PHPMyAdmin database connection port setting code, for more information, see.
/* Authentication type and info */$ cfg ['servers'] [$ I] ['auth _ type'] = 'config '; $ cfg ['servers'] [$ I] ['user'] = 'root'; $ cfg ['servers'] [$ I] ['password'] = "; $ cfg ['servers'] [$ I] ['port'] = '000000 ′; $ cfg ['servers'] [$ I] ['extension'] = 'mysql'; $ cfg ['servers'] [$ I] ['allownopassword'] = true; $ cfg ['Lang '] = ";
For example, if MySQL port is set to 3308, you can set the configuration file:
$ Cfg ['servers'] [$ I] ['port'] = '000000 ′
Bytes. The code is as follows/* Authentication type and info */$ cfg...
The above is the PHPMyAdmin tutorial for setting the database connection port code _ PHP. For more information, see PHP Chinese network (www.php1.cn )!