无法登录phpMyAdmin

问题描述 投票:0回答:1

我刚刚在我的本地安装了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"

它意味着什么,我该如何解决这个问题?提前致谢 :)

mysql apache phpmyadmin
1个回答
0
投票

检查你的my.cnf文件,并启动套接字模式,类似于

$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock';
$cfg['Servers'][$i]['connect_type'] = 'socket';

并尝试访问它

© www.soinside.com 2019 - 2024. All rights reserved.