启动phpmyadmin时拒绝访问

启动phpmyadmin时拒绝访问,php,phpmyadmin,Php,Phpmyadmin,当我启动php时,我的管理员:dev01.dev/phpmyadmin//dev01.dev是我的本地主机 它给出了以下错误: Welcome to phpMyAdmin Error MySQL said: Documentation #2002 - No such file or directory The server is not responding (or the local server's socket is not correctly configured). Connect

当我启动php时,我的管理员:
dev01.dev/phpmyadmin
//dev01.dev是我的本地主机

它给出了以下错误:

Welcome to phpMyAdmin

Error

MySQL said: Documentation
#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
Retry to connect
我编辑了配置文件。再次安装了phpmyadmin,但出现相同错误

My
/etc/phpmyadmin/config.inc.php
详情如下:

/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
/* Server parameters */
//$cfg['Servers'][$i]['host'] = 'localhost';
//$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

/*
 * phpMyAdmin configuration storage settings.
 */

/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controlhost'] = '';
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';

/* Storage database and tables */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma__column_info';
$cfg['Servers'][$i]['history'] = 'pma__history';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
什么是滞后?

//身份验证方法(基于配置、http或cookie)

将配置更改为http,然后重试。。 &取消对服务器参数的命令

//身份验证方法(基于配置、http或cookie)

将配置更改为http,然后重试。。
&取消对服务器参数的命令

我知道您已经解决了这个问题,但对于以后的搜索,这是我要检查的第一件事:

您确定MySQL服务器正在运行吗?我建议尝试通过命令行客户端进行连接。差不多

mysql -u root -p

我知道你已经解决了,但对于未来的搜索,这是我要检查的第一件事:

您确定MySQL服务器正在运行吗?我建议尝试通过命令行客户端进行连接。差不多

mysql -u root -p

戈皮:谢谢。不知道是哪件事让它起作用了@卡里姆汗补充道,这是一个你可以接受的答案,也会帮助别人,谢谢。不知道是哪件事让它起作用了@卡里姆汗补充说,这是一个你可以接受的答案,也会帮助其他人,谢谢