我试图启动并运行在MySQL和phpMyAdmin上,但仍然遇到登录到phpMyAdmin的问题。当使用默认用户名“root”且没有密码和我通过终端设置的密码时,我会得到“#2002无法登录到MySQL服务器”。phpmyadmin无法在初始安装(mac osx)上登录
这是我的config.inc.php文件的相关部分:
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'admin'; //I have also tried 'root' here with no password
$cfg['Servers'][$i]['password'] = 'PASSWORD';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
我已经试过:
我完全卡住了。
系统/版本的详细信息: 的Mac OSX 10.7.5 phpMyAdmin的3.5.7 的MySQL 5.5.28
这样做...快速简单,正是我所期待的。 – rrouse 2013-03-18 23:04:27