简体   繁体   English

mysqldump:无法执行'show fields from'':从存储引擎获得错误28(1030)

[英]mysqldump: Couldn't execute 'show fields from `': Got error 28 from storage engine (1030)

I transferred over my mysql database from one hard drive partition to another after the original partition was apparently full. 在原始分区显然已满后,我将我的mysql数据库从一个硬盘分区转移到另一个硬盘分区。 Afterwards, I modified the my.cnf file so that the data directory points to the new partition. 之后,我修改了my.cnf文件,以便数据目录指向新分区。 This new partition does indeed have extra space, but when I try to dump the mysql database, or even show the columns of a table, I'm left with the following error: 这个新分区确实有额外的空间,但是当我尝试转储mysql数据库,甚至显示表的列时,我留下了以下错误:

Got error 28 from storage engine (1030) 

My df -h command gives the following: 我的df -h命令给出以下内容:

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/isw_jiajcifaa_SecureDatap1 880G  873G     0 100% /
tmpfs                  12G     0   12G   0% /lib/init/rw
udev                   12G  236K   12G   1% /dev
tmpfs                  12G  140K   12G   1% /dev/shm
/dev/sdc1             917G  257G  615G  30% /data

I moved the files from the original /var/lib/mysql to /data/mysql and changed the my.cnf as follows: 我将文件从原始的/ var / lib / mysql移动到/ data / mysql并更改了my.cnf,如下所示:

user            = mysql
pid-file        = /data/mysql/mysqld.pid    
socket          = /data/mysql/mysqld.sock
port            = 3306
basedir         = /usr
datadir         = /data/mysql
tmpdir          = /tmp

Does anyone have an idea of the error? 有没有人知道错误?

The problem wasn't the location of the database, which I moved to the correct partition, but rather the sockets that MYSQL uses to transfer the data. 问题不在于数据库的位置,我将其移动到正确的分区,而是MYSQL用于传输数据的套接字。 The sockets are defined in both the my.cnf and debian.cnf (for Ubuntu), and since the partition was full, absolutely no data could be read from MYSQL. 套接字在my.cnf和debian.cnf(对于Ubuntu)中定义,并且由于分区已满,绝对没有数据可以从MYSQL中读取。 I also had to change the temporary directory initiative in my.cnf. 我还必须更改my.cnf中的临时目录计划。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 1030 从存储引擎得到错误 28 - 1030 Got error 28 from storage engine 慢速查询占用整个硬盘空间,导致“1030来自存储引擎的错误28” - Slow query takes up entire HDD space resulting in a “1030 Got error 28 from storage engine” MySQL错误:“ 1030-从存储引擎收到错误-1” - MySQL error: “1030 - Got error -1 from storage engine” 由于mysql错误,Magento网站关闭常规错误:1030从存储引擎获取错误-1 - Magento site down due to mysql error General error: 1030 Got error -1 from storage engine 第 25 行的 ERROR 1030 (HY000):来自存储引擎的错误 168 - ERROR 1030 (HY000) at line 25: Got error 168 from storage engine 解决“错误代码:1030。从存储引擎 MEMORY 收到错误 1“不允许操作”” - Resolve 'Error Code: 1030. Got error 1 “Operation not permitted” from storage engine MEMORY' #1030 - 从存储引擎 Aria 得到错误 176“读取校验和错误的页面” - #1030 - Got error 176 "Read page with wrong checksum" from storage engine Aria Docker MySQL 容器错误 1030(HY000):得到错误 168 - 来自存储引擎的“来自引擎的未知(通用)错误” - Docker MySQL container ERROR 1030 (HY000): Got error 168 - 'Unknown (generic) error from engine' from storage engine AWS MySql RDS:“存储引擎出现错误28” - AWS MySql RDS: “Got error 28 from storage engine” “随机” SQL错误-来自存储引擎的常规1030,-1 - “Random” SQL Error - General 1030, -1 from storage engine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM