0
我刚刚安装了简单的php和phpmyadmin没有连接到mysql服务器。它会抛出一个错误 - #1045 - 拒绝用户'root'@'localhost'的错误。easyphp - phpmyadmin没有连接到mysql服务器
我还没有做过任何设置或任何类型的更改。我刚刚安装并尝试打开phpmyadmin。配置文件看起来像这样 -
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['hide_db'] = '(mysql|information_schema|performance_schema|phpmyadmin)';
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
这真的很讨厌..有人可以帮助这个。
谢谢
PHP和MySQL在同一台服务器上吗? – Neal
我安装了整个包的easyphp到相同的文件夹..没有其他变化我做了。所以我想他们应该在同一台服务器上 – ravi