[英]MySQL is not starting in XAMPP
Now I'm working with some projects so I fill my Database using xampp(my english is s*cking, sorry). 现在我正在处理一些项目,因此我使用xampp填充数据库(我的英语很抱歉,对不起)。 I get error:
我得到错误:
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
I changed session storage and get next level of headache: 我更改了会话存储空间,并开始感到头疼:
#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.
Previously I installed conkeror browser and tried to set it as default browser. 以前,我安装了conkeror浏览器,并尝试将其设置为默认浏览器。 After some time (about 4hrs) mysql crashed.
一段时间(约4小时)后,mysql崩溃了。 I used commmands:
我使用了命令:
sudo update-alternatives --config x-www-browser
sudo update-desktop-database
I really need to save my database because it contains so mush data... Please help ( About my computer: Debian 8 GNOME + Awesome WM. Lenovo b590. 我真的需要保存我的数据库,因为它包含如此多的数据...请帮助(关于我的计算机:Debian 8 GNOME + Awesome WM。Lenovo b590。
So I found solution. 所以我找到了解决方案。 I watched my logs and mysql couldn't init tc.log (/opt/lampp/var/mysql/tc.log).
我看着自己的日志,而mysql无法初始化tc.log(/opt/lampp/var/mysql/tc.log)。 I just removed it and started the server.
我刚刚将其删除并启动了服务器。 It started working!
它开始工作了!
But I still must move my logs to the other partition, because logs eat so much memory... 但是我仍然必须将日志移到另一个分区,因为日志会占用大量内存...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.