时间:2021-07-01 10:21:17 帮助过:3人阅读
相关mysql视频教程推荐:《mysql教程》
/* 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'] = ”;
比如MySQL的端口设置为3308,可以把配置文件设置为:
$cfg['Servers'][$i]['port'] = ’3308′
以上就是PHPMyAdmin设置数据库连接端口代码_PHP教程的内容,更多相关内容请关注PHP中文网(www.gxlcms.com)!