修改PHPMyAdmin登录MySQL的端口

2017-06-1821:33:04 评论 967 views

假设MySQL的登录端口已经修改为: 3309

首先找到phpMyAdmin\libraries\config.default.php:
[php]
$cfg['Servers'][$i]['port'] = ''
//这句注释表明这里空表示使用的是MySQL的默认端口3306。只要把它改为:
$cfg['Servers'][$i]['port'] = '3309';
[/php]

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: