phpMyAdmin的安全问题


1.删除默认的pdm root等密码为空的用户


2.根目录下 的 config.inc.php,打开修改:

$cfg['blowfish_secret'] = 'yetnet_j2cms';填写一个字符串
$cfg['Servers'][$i]['controluser'] = 'root';//填
$cfg['Servers'][$i]['controlpass'] = 'yourpassword';填

$cfg['Servers'][$i]['AllowNoPassword'] = false;修改成
$cfg['Servers'][$i]['AllowNoPassword'] = true;

你可能感兴趣的:(phpMyAdmin)