标签:启动 sed 目录 报错 出现 jobs ali com mysql启动不了
ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/opt/lampp/var/mysql/mysql.sock‘ (2)
原因:系统盘满了
[root@localhost opt]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
18G 17G 0 100% /
tmpfs 504M 0 504M 0% /dev/shm
/dev/sda1 477M 80M 372M 18% /boot
[root@localhost opt]#
解决:
删除大文件后,重启系统解决
[root@localhost mysql]# /opt/lampp/lampp status
Version: XAMPP for Linux 1.8.3-3
Apache is not running.
MySQL is not running.
ProFTPD is running.
df: 未处理文件系统
[root@localhost opt]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
18G 17G 0 100% /
tmpfs 504M 0 504M 0% /dev/shm
/dev/sda1 477M 80M 372M 18% /boot
[root@localhost opt]#
[root@localhost ~]# /opt/lampp/lampp status
Version: XAMPP for Linux 1.8.3-3
Apache is not running.
MySQL is running.
ProFTPD is running.
转
分类: 技术 |
Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2)
标签:启动 sed 目录 报错 出现 jobs ali com mysql启动不了
原文地址:https://www.cnblogs.com/python-xiakaibi/p/10823135.html