This article to introduce to you about phpMyAdmin set database connection port code, there is a need to know the friend can refer to.
/* Authentication type and Info */$cfg [' Servers '] [$i] [' auth_type '] = ' config '; $cfg [' Servers '] [$i] [' user '] = ' root '; $cfg [' Servers '] [$i] [' password '] = "; $cfg [' Servers '] [$i] [' port '] = ' 3307′; $cfg [' Servers '] [$i] [' extension '] = ' mysql '; $cfg [' Servers '] [$i] [' allownopassword '] = true; $cfg [' Lang '] = ";
For example, MySQL port is set to 3308, you can set the configuration file to:
$cfg [' Servers '] [$i] [' port '] = ’3308′
http://www.bkjia.com/PHPjc/631275.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/631275. Htmltecharticle this article to introduce to you about phpMyAdmin set the database connection port code, there is a need to know the friend can refer to. The code follows the copy code/* Authentication type and Info */$cfg ...
The above is phpMyAdmin set the database connection port code _php tutorial content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!