[英]MySQL is not starting in XAMPP
现在我正在处理一些项目,因此我使用xampp填充数据库(我的英语很抱歉,对不起)。 我得到错误:
Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
我更改了会话存储空间,并开始感到头疼:
#2002 - No such file or directory — Server isn't responding (or local socket of Mysql incorrectly configured ).
mysqli_real_connect(): (HY000/2002): No such file or directory
An error occurred while indicating the connection for controluser in configuration
mysqli_real_connect(): (HY000/2002): No such file or directory.
以前,我安装了conkeror浏览器,并尝试将其设置为默认浏览器。 一段时间(约4小时)后,mysql崩溃了。 我使用了命令:
sudo update-alternatives --config x-www-browser
sudo update-desktop-database
我真的需要保存我的数据库,因为它包含如此多的数据...请帮助(关于我的计算机:Debian 8 GNOME + Awesome WM。Lenovo b590。
所以我找到了解决方案。 我看着自己的日志,而mysql无法初始化tc.log(/opt/lampp/var/mysql/tc.log)。 我刚刚将其删除并启动了服务器。 它开始工作了!
但是我仍然必须将日志移到另一个分区,因为日志会占用大量内存...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.