我更改了我的AMPPS堆栈的localhost用户的密码,现在我无法登录到phpmyadmin它显示一条粉红色消息:Access Denied...
,我试过恢复所有默认配置但具有相同的问题。使用AMPP更改Mac上的phpmyadmin密码,现在无法登录到phpmyadmin
我检查config.inc文件,它的内容是:
<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = file_get_contents('/Applications/AMPPS/ampps/data/my.conf');
$cfg['Servers'][$i]['hide_db'] = '(information_schema|performance_schema)';
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['blowfish_secret'] = '';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
这是一个涉及到密码my.conf文件部分:
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = {$path}/var/mysql.sock
我已检查MySQL的。 ini文件也只有一个字段,如:
# PASSWORD = (your passwrod)
我从该行的开头删除#并保存t他文件,我重新启动Apache和MySQL。我甚至退出应用程序,然后重新打开它,但问题在那里,没有任何改变。
我检查了我的代码,看看我能够用我的代码用新密码和它的工作,但唯一的问题是我不能去到phpMyAdmin了。