July 14, 2015

Disk Space for MySQL Databases in cPanel Show as 0MB

When you upgrade from cPanel 11.24 to 11.25, your users may notice that in cPanel, their MySQL databases show 0MB of disk space used, when they know their databases are much larger. This is due to an option in cPanel that you specifically have to enable. To enable MySQL disk usage tracking:
1) Edit /var/cpanel/cpanel.config
Change:
disk_usage_include_sqldbs=0
to
disk_usage_include_sqldbs=1
Then run the following:
/scripts/update_db_cache
This may take a few minutes if you have a ton of users with databases, but after this, you should see the database disk usage show up accurately in cPanel.

Related Posts:

  • MySQL Table says IN USE, but table will not repair in phpmyadmin. From time to time mysql corrupts itself.  This can normally be fixed using the KB Article here: http://billing.handsonwebhosting.com/knowledgebase.php?action=displayarticle&id=194 Under some situations h… Read More
  • Một số lệnh quản lý mysql bạn nên biết1. Đổi mật khẩu user root Khi mới cài đặt MySQL, user root với quyền tối cao sẽ được tạo ra với mật khẩu bằng trống (không có mật khẩu. Do vậy việc đầu tiên chúng ta nên làm sẽ là đổi mật khẩu cho user này để đảm bảo an toàn… Read More
  • LÀM THẾ NÀO ĐỂ KHÔI PHỤC MYSQL ROOT PASSWORD TRÊN SERVER WINDOWS Đầu tiên các bạn đều phải stop Mysql service ( Administrative Tools >>> Services ) PHƯƠNG PHÁP 1 (SKIP GRANT TABLES) Mở Command Prompt (cmd) và tìm đến thư mục bin nơi cài đặt MySQL V… Read More
  • Các câu lệnh MySQL cần phải biết Khi chạy các lệnh này, bạn cần login vào MySQL với tài khoản root (MySQL root chứ không phải tài khoản root quản lý VPS) hoặc tài khoản có full quyền. Tất cả các thao tác mình thực hiện trên VPS CentOS Đăng nhập MySQL … Read More
  • phục hồi mysql replication break Giới thiệu Khi mysql replication bị hỏng thì có rất nhiều cách để xử lý nhưng có một cách tốt hơn cả là có thể bê nguyên toàn bộ data của master về slave ngay lập tức và tái lập replication bắt đầu tại thời điểm chuyển toàn… Read More

0 comments:

Post a Comment