为什么cpanel数据库大小显示0.00MB?

发布于 2024-09-12 12:41:10 字数 212 浏览 3 评论 0原文

为什么在 cpanel 中数据库大小显示 0.00MB,而当我备份数据库时却显示 1.2 MB?

替代文本 http://shup.com/Shup/392674/1107123610-My-桌面.png

Why in cpanel database size is showing 0.00MB while when i take backup of database then it is 1.2 MB?

alt text http://shup.com/Shup/392674/1107123610-My-Desktop.png

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

治碍 2024-09-19 12:41:29

编辑文件 /var/cpanel/cpanel.config 并更改

disk_usage_include_sqldbs=0

disk_usage_include_sqldbs=1

然后运行

/scripts/update_db_cache

它将更新MySQL数据库磁盘使用情况。

edit file /var/cpanel/cpanel.config and change

disk_usage_include_sqldbs=0

to

disk_usage_include_sqldbs=1

Then run

/scripts/update_db_cache

It will update the MySQL database disk usage.

似梦非梦 2024-09-19 12:41:26

您的下载也包括您的“information_schema”数据库,我希望您承认这一点,但是我似乎不认为它会重达约 10 兆字节的数据,因此我认为需要关注的唯一另一个问题是您的数据库未映射,因此尝试修复它,或创建一个新数据库并将内容上传到其中。

Your download includes your "information_schema" database too, I hope you acknowledge that, however I would not seem to think it would weigh about 10 megabytes of data, so the only other issue I would see as a concern is you database is not mapped so try repairing it, or creating a new database and uploading the contents to it.

双马尾 2024-09-19 12:41:24

我相信 CPanel 运行一系列更新计数器(例如数据库大小)的任务,而不是即时计算。如果不是最新的,则说明该任务未运行或运行得不够频繁。

I believe CPanel runs a series of tasks which update counters such as database size, rather than calculating it on-the-fly. If it's not up-to-date, either the task isn't running or isn't running often enough.

她如夕阳 2024-09-19 12:41:21

很可能是因为配置不正确

Most likely because it's not configured properly

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文