Mysql 表不包括';不存在于引擎中(XAMPP)
问题是,当我选择一个表时,它会显示以下错误:“表xxx.xxx在引擎中不存在,但该表存在。” 我将XAMPP4.6.XX更新为5.6.14,所以我的数据库是Mysql(我不知道是InnoDB还是MyISAM),嗯……我试着用Mysql安装旧版本,但没有成功 解决办法是什么 我不想删除表并再次创建,所以我丢失了数据,我不想这样 PhpMyadmin向我显示的信息是:Mysql 表不包括';不存在于引擎中(XAMPP),mysql,phpmyadmin,xampp,mariadb,Mysql,Phpmyadmin,Xampp,Mariadb,问题是,当我选择一个表时,它会显示以下错误:“表xxx.xxx在引擎中不存在,但该表存在。” 我将XAMPP4.6.XX更新为5.6.14,所以我的数据库是Mysql(我不知道是InnoDB还是MyISAM),嗯……我试着用Mysql安装旧版本,但没有成功 解决办法是什么 我不想删除表并再次创建,所以我丢失了数据,我不想这样 PhpMyadmin向我显示的信息是: Servidor: Localhost via UNIX socket Tipo de servidor: MariaDB Vers
Servidor: Localhost via UNIX socket
Tipo de servidor: MariaDB
Versión del servidor: 10.0.17-MariaDB - Source distribution
Versión del protocolo: 10
Usuario: root@localhost
Conjunto de caracteres del servidor: UTF-8 Unicode (utf8)
还有我的.cnf
# Example MySQL config file for medium systems.
#
# This is for a system with little memory (32M - 64M) where MySQL plays
# an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server)
#
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /Applications/XAMPP/xamppfiles/var/mysql) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.
# The following options will be passed to all MySQL clients [client]
#password = your_password port = 3306 socket = /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server [mysqld] user = mysql port=3306 socket = /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock skip-external-locking key_buffer = 16M max_allowed_packet = 1M table_open_cache = 64 sort_buffer_size = 512K net_buffer_length = 8K read_buffer_size = 256K read_rnd_buffer_size = 512K myisam_sort_buffer_size = 8M
# Where do all the plugins live plugin_dir = /Applications/XAMPP/xamppfiles/lib/mysql/plugin/
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
# commented in by xampp security
#skip-networking skip-networking
# Replication Master Server (default)
# binary logging is required for replication
# log-bin deactivated by default since XAMPP 1.4.11
#log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted server-id = 1
# Replication Slave (comment out master section to use this)
#
# To configure this host as a replication slave, you can choose between
# two methods :
#
# 1) Use the CHANGE MASTER TO command (fully described in our manual) -
# the syntax is:
#
# CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
# MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
#
# where you replace <host>, <user>, <password> by quoted strings and
# <port> by the master's port number (3306 by default).
#
# Example:
#
# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
# MASTER_USER='joe', MASTER_PASSWORD='secret';
#
# OR
#
# 2) Set the variables below. However, in case you choose this method, then
# start replication for the first time (even unsuccessfully, for example
# if you mistyped the password in master-password and the slave fails to
# connect), the slave will create a master.info file, and any later
# change in this file to the variables' values below will be ignored and
# overridden by the content of the master.info file, unless you shutdown
# the slave server, delete master.info and restart the slaver server.
# For that reason, you may want to leave the lines below untouched
# (commented) and instead use CHANGE MASTER TO (see above)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin=mysql-bin
# Point the following paths to different dedicated disks tmpdir = /Applications/XAMPP/xamppfiles/temp/mysql
#log-update = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000
# Comment the following if you are using InnoDB tables
#skip-innodb innodb_data_home_dir = /Applications/XAMPP/xamppfiles/var/mysql/ innodb_data_file_path = ibdata1:10M:autoextend innodb_log_group_home_dir = /Applications/XAMPP/xamppfiles/var/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high innodb_buffer_pool_size = 16M
# Deprecated in 5.6
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size innodb_log_file_size = 5M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit = 1 innodb_lock_wait_timeout = 50
[mysqldump] quick max_allowed_packet = 16M
[mysql] no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk] key_buffer = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M
[myisamchk] key_buffer = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M
[mysqlhotcopy] interactive-timeout
!include /Applications/XAMPP/xamppfiles/mysql/my.cnf
中型系统的MySQL配置文件示例。
#
#这适用于一个内存很少(32M-64M)的系统,MySQL在其中运行
#MySQL是一个重要的部分,或与MySQL一起使用的高达128M的系统
#其他程序(如web服务器)
#
#您可以将此文件复制到
#/etc/my.cnf设置全局选项,
#mysql data dir/my.cnf设置特定于服务器的选项(在此
#安装此目录为/Applications/XAMPP/xamppfiles/var/mysql)或
#~/.my.cnf以设置用户特定的选项。
#
#在此文件中,您可以使用程序支持的所有长选项。
#如果您想知道程序支持哪些选项,请运行该程序
#使用“-help”选项。
#以下选项将传递给所有MySQL客户端[客户端]
#password=your_password port=3306 socket=/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
#下面是一些特定程序的条目
#MySQL服务器[mysqld]user=MySQL port=3306 socket=/Applications/XAMPP/xamppfiles/var/MySQL/MySQL.sock跳过外部锁定键\u buffer=16M max\u allowed\u packet=1M table\u open\u cache=64 sort\u buffer\u size=512K net\u buffer\u length=8K read\u buffer\u size=256K read\u rnd\u buffer\u size=512K myisam\u sort\u buffer\u size=8M
#所有插件在哪里运行plugin_dir=/Applications/XAMPP/xamppfiles/lib/mysql/plugin/
#根本不要监听TCP/IP端口。这可能是一种安全增强,
#如果所有需要连接到mysqld的进程都在同一台主机上运行。
#与mysqld的所有交互都必须通过Unix套接字或命名管道进行。
#请注意,在Windows上使用此选项而不启用命名管道
#(通过“启用命名管道”选项)将使mysqld变得无用!
#
#xampp安全性在中发表了评论
#跳过联网跳过联网
#复制主服务器(默认)
#复制需要二进制日志记录
#默认情况下,自XAMPP 1.4.11以来已停用日志箱
#log-bin=mysql-bin
#1和2^32-1之间所需的唯一id
#如果未设置主主机,则默认为1
#但如果省略的服务器id=1,则不会用作主服务器
#复制从机(注释掉主节以使用此选项)
#
#要将此主机配置为复制从机,您可以选择
#两种方法:
#
#1)使用“更改主控形状”命令(在我们的手册中有详细说明)-
#语法是:
#
#将MASTER更改为MASTER\u HOST=,MASTER\u PORT=,
#主用户=,主密码=;
#
#替换为带引号的字符串和
#根据主机的端口号(默认为3306)。
#
#例如:
#
#将MASTER更改为MASTER_HOST='125.564.12.1',MASTER_端口=3306,
#MASTER_USER='joe',MASTER_PASSWORD='secret';
#
#或
#
#2)设置以下变量。但是,如果选择此方法,则
#第一次启动复制(例如,即使未成功)
#如果您在主密码中输入了错误的密码,而从密码无法
#连接),从属服务器将创建master.info文件,以及任何更高版本
#此文件中对以下变量值的更改将被忽略,并且
#被master.info文件的内容覆盖,除非关闭
#删除从属服务器,删除master.info并重新启动从属服务器。
#出于这个原因,您可能希望保持下面的行不变
#(注释)并改为使用更改主控形状(见上文)
#
#2和2^32-1之间所需的唯一id
#(与船长不同)
#如果设置了主主机,则默认为2
#但如果省略,将不起从属作用
#服务器id=2
#
#此从属服务器的复制主机-必需
#主主机=
#
#连接时从属服务器将用于身份验证的用户名
#致船长-必须
#主用户=
#
#连接到时从属服务器将使用的密码进行身份验证
#硕士学位是必修的
#主密码=
#
#主机正在侦听的端口。
#可选-默认为3306
#主端口=
#
#二进制日志记录-从属服务器不需要,但建议使用
#log-bin=mysql-bin
#将以下路径指向不同的专用磁盘tmpdir=/Applications/XAMPP/xamppfiles/temp/mysql
#日志更新=/专用目录路径/主机名
#如果使用的是BDB表,请取消注释以下内容
#bdb_缓存_大小=4M
#bdb_最大锁定=10000
#如果您使用的是InnoDB表,请对以下内容进行注释
#跳过innodb innodb_data_home_dir=/Applications/XAMPP/xamppfiles/var/mysql/innodb_data_file_path=ibdata1:10M:自动扩展innodb_log_group_home_dir=/Applications/XAMPP/xamppfiles/var/mysql/
#您可以将..缓冲区\池\大小设置为50-80%
#但要小心将内存使用量设置得过高innodb\u buffer\u pool\u size=16M
#在5.6中已弃用
#innodb_附加_成员_池大小=2M
#将..\u log\u file\u size设置为缓冲池大小的25%innodb\u log\u file\u size=5M innodb\u log\u buffer\u size=8M innodb\u flush\u log\u at\u trx\u commit=1 innodb\u lock\u wait\u timeout=50
[mysqldump]允许的快速最大\u数据包=16M
[mysql]没有自动重新刷新
#如果不熟悉SQL,请删除下一个注释字符
#安全更新
[isamchk]键缓冲区=20M排序缓冲区大小=20M读缓冲区=2M写缓冲区=2M
[myisamchk]键\缓冲区=20M排序\缓冲区\大小=20M读取\缓冲区=2M写入\缓冲区=2M
[mysqlhotcopy]交互超时
!include/Applications/XAMPP/xamppfiles/mysql/my.cnf
我正在寻找更多信息,表已损坏,对吗?是否可以在不丢失数据的情况下修复此问题
编辑:我尝试使用“修复表”;“结果失败了