我们已经在运行IIS 7.0的Windows机器上安装了PHPMyAdmin。
我们可以使用命令行连接到MySQL,但无法使用PHPMyAdmin连接。
显示的错误是:
请问有人能帮忙吗?
我尝试了下面的链接,但没有成功,我的意思是我更改了密码,但phpMyAdmin仍然出现相同的错误...
C.5.4.1.1.重设根密码:Windows系统
此外,在stackoverflow上有类似以下的线程,但没有帮助:
随机错误:#1045无法登录到MySQL服务器
但这个错误不是随机的-> 我总是遇到这个错误...
这是phpmyadmin文件夹中的config.inc.php文件:
我们可以使用命令行连接到MySQL,但无法使用PHPMyAdmin连接。
显示的错误是:
错误#1045无法登录到MySQL服务器。
请问有人能帮忙吗?
PHP版本5.4.0
mysqlnd 5.0.10 - 20111026 - $ Revision: 323634 $
phpMyAdmin-3.5.4-rc1-all-languages.7z
编辑:我尝试了下面的链接,但没有成功,我的意思是我更改了密码,但phpMyAdmin仍然出现相同的错误...
C.5.4.1.1.重设根密码:Windows系统
此外,在stackoverflow上有类似以下的线程,但没有帮助:
随机错误:#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 = false;
check_config_rw($config_readable, $config_writable, $config_exists);
?>
<h2><?php echo __('Configuration file') ?></h2>
<?php display_form_top('config.php'); ?>
<input type="hidden" name="eol" value="<?php echo htmlspecialchars(PMA_ifSetOr($_GET['eol'], 'unix')) ?>" />
<?php display_fieldset_top('', '', null, array('class' => 'simple')); ?>
<tr>
<td>
<textarea cols="50" rows="20" name="textconfig" id="textconfig" spellcheck="false"><?php
echo htmlspecialchars(ConfigGenerator::getConfigFile())
?></textarea>
</td>
</tr>
<tr>
<td class="lastrow" style="text-align: left">
<input type="submit" name="submit_download" value="<?php echo __('Download') ?>" class="green" />
<input type="submit" name="submit_save" value="<?php echo __('Save') ?>"<?php if (!$config_writable) echo ' disabled="disabled"' ?> />
</td>
</tr>
<?php
display_fieldset_bottom_simple();
display_form_bottom();
?>
这些代码的哪一部分需要更改?
谢谢。
mysqladmin:无法连接到本地服务器 错误:'Access denied for user 'root'@'localhost' (using password: NO)'
- undefined