配置文件现在需要绝密的短语密码(blowfish_secret)
配置phpmyadmin不成功,提示:#1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
原因是第一次使用phpmyadmin不应设置mysql帐号和密码,如下图: 不要像下图这么设置: 当然要改配置文件里的: $cfg[‘blowfish_secret’] = ‘ ‘; 单引号里面随便写个数下图是$cfg[‘blowfish_secret’] = ‘ ‘ 留空出现的错误:配置文件现在需要绝密的短语密码(blowfish_secret)
|
pma:用户名pmapass:密码
$cfg[‘Servers’][$i][‘controluser’] = ‘pma’; // MySQL control user settings // (this user must have read-only$cfg[‘Servers’][$i][‘controlpass’] = ‘pmapass’; // access to the “mysql/user” // and “mysql/db” tables). // The controluser is also // used for all relational // features (pmadb)$cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’; // Authentication method (config, http or cookie based)?$cfg[‘Servers’][$i][‘user’] = ‘root’; // MySQL user$cfg[‘Servers’][$i][‘password’] = ‘utf-8’; // MySQL password (only needed // with ‘config’ auth_type)有什么错?我的还是报同样的错