Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL: #126 - Incorrect key file for table

I got the following error from a MySQL query.

#126 - Incorrect key file for table

I have not even declared a key for this table, but I do have indices. Does anyone know what could be the problem?

like image 531
Brian Avatar asked Jan 06 '10 05:01

Brian


People also ask

What is MySQL used for?

MySQL is an open source relational database management system. For WordPress sites, that means it helps you store all your blog posts, users, plugin information, etc. It stores that information in separate “tables” and connects it with “keys”, which is why it's relational.

What is difference between SQL or MySQL?

SQL is a query programming language that manages RDBMS. MySQL is a relational database management system that uses SQL. SQL is primarily used to query and operate database systems. MySQL allows you to handle, store, modify and delete data and store data in an organized way.

Is MySQL better than Microsoft SQL?

Both SQL Server and MySQL are built as binary collections. However, SQL server is more secure than MySQL. It does not let any process to access and manipulate the database files at run time. Users need to perform specific functions or manipulate files by executing an instance.

Is MySQL still free?

MySQL is free and open-source software under the terms of the GNU General Public License, and is also available under a variety of proprietary licenses.


1 Answers

Every Time this has happened, it's been a full disk in my experience.

EDIT

It is also worth noting that this can be caused by a full ramdisk when doing things like altering a large table if you have a ramdisk configured. You can temporarily comment out the ramdisk line to allow such operations if you can't increase the size of it.

like image 64
Monsters X Avatar answered Sep 28 '22 10:09

Monsters X