douse8732 2016-01-30 19:40
浏览 21

缺少MySQL / InnoDB中的行

I have a website in PHP/MySQL, hosted on a public server. The website is used to host data on tests we do. Each test in inserted in the database and the testID (primary) is auto incremented. As of today we have about 1100 tests/rows.

A few days ago I came across a weird error, the database only displays 699 rows. And according to the Db the last entry was in August last year. This is off course wrong.

I can INSERT new rows via the webpage, and it is assigned a new auto incremented ID, and all data is displayed well. Last I checked we have reached testID 1037, but according to cPanel/phpmyadmin there are only 699 rows, even if I add 10 more rows. Seems like I have reached some kind of limit.

I know that InnoDB has some issue when using COUNT(*), but I should be able to SELECT a certain testID >699 when I know it's there!

Tech Support tried implementing this on my server ($cfg['MaxExactCount'] = 200000;), but didn't do the trick.

I have no joins, just one table where each line serves one unique test.

So my question would be, does anybody know why my MySQL database stops counting rows above 699?

And, can I upload a file (php.ini or .htacces)to my server that prevents this?

Best regards, Chris

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
    • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
    • ¥15 gdf格式的脑电数据如何处理matlab
    • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
    • ¥100 监控抖音用户作品更新可以微信公众号提醒
    • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
    • ¥70 2048小游戏毕设项目
    • ¥20 mysql架构,按照姓名分表
    • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
    • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题