无法登录phpMyAdmin
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了无法登录phpMyAdmin相关的知识,希望对你有一定的参考价值。
我刚刚在我的本地安装了phpMyAdmin(运行Apache和windows)。我的问题是,我一直收到这个错误:
2002 Cannot log in to the mysql server
我检查了错误文件,它显示:
httpd.exe: Could not reliably determine the server's fully qualified domain
name, using xxxxx for ServerName
[Wed Dec 20 10:33:48 2017] [notice] Digest: generating secret for digest
authentication ...
[Wed Dec 20 10:33:48 2017] [notice] Digest: done
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Child process is running
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Acquired the start mutex.
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Starting 64 worker threads.
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Starting thread to listen on
port 10081.
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Starting thread to listen on
port 80.
[Wed Dec 20 10:33:48 2017] [notice] Child 1096: All worker threads have
exited.
[Wed Dec 20 10:33:49 2017] [notice] Child 1096: Child process is exiting"
它意味着什么,我该如何解决这个问题?提前致谢 :)
答案
检查你的my.cnf文件,并启动套接字模式,类似于
$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock';
$cfg['Servers'][$i]['connect_type'] = 'socket';
并尝试访问它
以上是关于无法登录phpMyAdmin的主要内容,如果未能解决你的问题,请参考以下文章
phpmyadmin 不会验证 mysql 帐户 - 无法登录 phpmyadmin