早上跑来了,查看一下数据库中数据情况,结果navicat只能看到1000条记录,查看mysql数据库结果是有全部的数据。
/***************************************************************************
* navicat MySQL 只有1000条记录
* 说明:
* 早上跑来了,查看一下数据库中数据情况,结果navicat只能看到1000条记录,
* 查看mysql数据库结果是有全部的数据,原因是navicat只能显示1000条记录。
*
* 2016-10-29 深圳 南山平山村 曾剑锋
*************************************************************************/
一、参考文档:
1. mysql 插入操作最多能插入多少条记录
https://zhidao.baidu.com/question/160402098.html
二、查看数据库实际数据情况:
[zengjf@root /usr/share/huishu]# mysql -h 127.0.0.1 -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6481
Server version: 5.1.73-log Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use sensor;
Database changed
mysql> show tables;
+------------------+
| Tables_in_sensor |
+------------------+
| baseInfo |
+------------------+
2 rows in set (0.00 sec)
mysql> select count(*) from baseInfo;
+----------+
| count(*) |
+----------+
| 6475 |
+----------+
1 row in set (0.00 sec)