我正在尝试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
我该如何解决?
答案 0 :(得分:1)
/etc/init.d/mysql:错误:带有/ var / lib / mysql的分区太满了!
这就是为什么您不能启动mysql
请清除/ dev / xvda1磁盘空间不足
答案 1 :(得分:0)
尝试以这种方式运行
sudo service mysql stop
sudo service mysql start