我正在使用MySQL Workbench 6.0。我从.sql文件构建了一个模式。它有1024张桌子。当我将它连接到本地主机时,似乎只有47个表能够完成。我用这个命令检查

SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = "my_schema";

为什么只剩下其他977张桌子?是内存分配问题吗?或者我的配置有问题?
编辑1
MySQL命令的结果
SHOW ENGINES;

编辑2
我检查了本地连接查看的.ini文件。它使用默认的
C:\Program Files\MySQL\MySQL Server 5.6

这是my-default.ini的内容
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.

[mysqld]

# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....


# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

因为这是它的读取文件,而我没有做任何更改,所以像我这样有大量表的数据库是否存在内存问题?或者我应该把这个allone留给本地连接,然后通过MySQL Workbench更改设置吗?
编辑3
Blow是SQL命令的结果
SHOW GRANTS;

最佳答案

首先确认sql文件包含所有1024个表。
使用命令SHOW ENGINES:

关于mysql - 当我将它连接到本地主机时,MySQL模式会丢失表,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/31160501/

10-16 04:12