我大约一个月前下载了XAMPP,它运行得很好.今天我安装了一个语音识别软件,然后重新启动了我的电脑.从那以后,MySQL将无法在我的manager-osx应用程序中启动.它不会在应用程序日志中抛出一个.这就是它所说的:
Stopping all servers...
Stopping Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd stopped
Stopping ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd stopped
Restarting all servers...
Starting MySQL Database...
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Checking syntax of configuration file
/Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd started
Run Code Online (Sandbox Code Playgroud)
我的ProFTPD和我的Apache Web服务器都在运行.MySQL不是.当我去phpmyadmin时,它会抛出这个错误信息.
#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured).
Run Code Online (Sandbox Code Playgroud)
请帮我.我不知道该怎么做.
更新:
在浏览了一下互联网后,我发现了一个用户与MAMP类似的问题,另一个用户建议杀死mysql进程,这意味着什么.这可以解决我的问题吗?
更新2:
我找到了问题的答案,但我还没有回答.所以这是答案:
1)打开终端并输入
sudo su
Run Code Online (Sandbox Code Playgroud)
然后输入你的密码 …