Mysql 'Got error -1 from storage engine' error

前端 未结 6 1384
暖寄归人
暖寄归人 2020-12-30 23:51

I have a myism table \'test\' which holds some out-dated data, now I want to recreate the table, all columns the same except that I changed the storage from myism to innodb.

6条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 00:04

    To discover what the error code is for any system error code on a unix or linux system, look in errno.h. On my mac, I can do:

    $ grep 28 /usr/include/sys/errno.h
    #define ENOSPC 28 /* No space left on device */

    On other operating systems, such as linux, there will be some other layers because of machine layer sub includes. But, you should be able to look through those files and find these error definitions.

    Alternatively, use the 'man' command to look for "intro" or other manual pages under section '2', the operating system section.

提交回复
热议问题