我正在尝试mysql,但收到以下错误:
sudo /etc/init.d/apache2 start
* Starting web server apache2 *
ubuntu@ip-172-31-19-47:/var/www/html/anunciolocal$ sudo /etc/init.d/mysql start
* /etc/init.d/mysql: ERROR: The partition with /var/lib/mysql is too full!
当我检查我的记忆时:
ubuntu@ip-172-31-19-47:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 996M 12K 996M 1% /dev
tmpfs 201M 344K 200M 1% /run
/dev/xvda1 16G 15G 307M 98% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 1001M 0 1001M 0% /run/shm
none 100M 0 100M 0% /run/user
overflow 1.0M 992K 32K 97% /tmp
怎么解决?
2条答案
按热度按时间qcbq4gxm1#
/etc/init.d/mysql:错误:/var/lib/mysql的分区太满了!
这就是为什么你不能启动mysql
请清除/dev/xvda1磁盘空间不足
a5g8bdjr2#
试着这样做