找到config.default.php
更改:
$cfg['Servers'][$i]['nopassword'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
将两个false改为true,同时设置,
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
将两个false改为true,同时设置,
$cfg['Servers'][$i]['password'] = '';
locoal改为:127.0,。0.1
恩就这样:
这个设置时允许以空密码方式登陆mysql库
恩,简单吧