use*_*798 3 php mysql sockets xampp
我已将XAMPP版本更新为1.8.2.现在我遇到MySQL数据库服务器无法启动的问题.
如果我尝试启动Apache Web服务器(在"应用程序管理器"中),它会显示"正在启动...",几秒后它会显示"正在运行".当我对MySQL数据库做同样的事情时,它会说"开始......"几秒钟然后它会显示"已停止".
当我查看配置文件(my.cnf)时,我看到了这个:
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
Run Code Online (Sandbox Code Playgroud)
我认为问题出在socket中.mysql.sock在该目录中不存在,甚至在整个XAMPP目录中也不存在.
有谁知道如何解决这一问题?
PS:我在OS X上安装了PHP 5.4.
我在Mac OS X上遇到了同样的错误(10.9)我通过以下步骤修复了小牛队