为什么cpanel数据库大小显示0.00MB?
为什么在 cpanel 中数据库大小显示 0.00MB,而当我备份数据库时却显示 1.2 MB?
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
编辑文件 /var/cpanel/cpanel.config 并更改
到
然后运行
它将更新MySQL数据库磁盘使用情况。
edit file /var/cpanel/cpanel.config and change
to
Then run
It will update the MySQL database disk usage.
您的下载也包括您的“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.
我相信 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.
很可能是因为配置不正确
Most likely because it's not configured properly