我们在运行IIS 7.0的Windows机器上安装了PHPMyAdmin.
我们可以使用命令行连接到MySQL,但是我们无法使用PHPMyAdmin进行连接.
显示的错误是:Error #1045 Cannot log in to the MySQL server.
有人可以帮忙吗?
PHP Version 5.4.0
mysqlnd 5.0.10 - 20111026 - $Revision: 323634 $
phpMyAdmin-3.5.4-rc1-all-languages.7z
编辑:
我按照下面的链接没有成功,意味着我更改了密码,但phpmyadmin仍然有错误...
C.5.4.1.1.重置root密码:Windows系统
也有下面的线程在堆栈中没有帮助:
随机错误:#1045无法登录到MySQL服务器,
但该错误不是随机的 - >我总是有错误...
这是phpmyadmin文件夹中的config.inc.php文件:
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Config file view and save screen
*
* @package PhpMyAdmin-setup
*/
if (!defined('PHPMYADMIN')) {
exit;
}
/**
* Core libraries.
*/
require_once './libraries/config/FormDisplay.class.php';
require_once './setup/lib/index.lib.php';
require_once './setup/lib/ConfigGenerator.class.php';
$config_readable = false;
$config_writable = false;
$config_exists …Run Code Online (Sandbox Code Playgroud)