Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24
資料庫 mysql eximstats 滿了的處理方式 – unethost無限空間虛擬主機 技術分享部落格

資料庫 mysql eximstats 滿了的處理方式

exim_wp

當/var被佔用了一些空間後,甚至於暴滿,導致mysql已經無法開起。有部份可以著手清理的地方,而其中一塊是 mysql eximstats,接著請照下列步驟,就可以釋放出一些容量。

1. 登入 ssh shell

2. root 的狀態下,登入 msyql 。

root@server [~]# mysql

3. 在一步步執行下列指令:

mysql> use eximstats
mysql> delete from sends;
mysql> delete from smtp;
mysql> delete from failures;
mysql> delete from defers;

4. exit 離開 mysql 回到 linux shell

5. 檢查釋放後的狀態 

 du -sh /var/lib/mysql/eximstats 

如果 mysql是開不起來的狀態下,要先清 /var/log 以及 /var/lib/mysql/ 底下的 error.log,或是要先檢查 mysql error.log,先行除錯才行。

 

我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。