Re: mysqldump Got error 1034 Incorrect key file for table

2012-11-20 Thread Inigo Medina
='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; mysqldump: Got error: 1034: Incorrect key file for table 'table1'; try to repair it when using LOCK TABLES root@falcon:~# I'm trying recover with mysql check table table1

Re: Help! The dreaded Incorrect key file for table 'XXXXXXX'; try to repair it error

2012-03-12 Thread Mikhail Berman
involved upgrading its database. After the upgrade, the following error started appearing: mysqldump: Got error: 1034: Incorrect key file for table 'notes'; try to repair it when using LOCK TABLES So i tried doing lock and repair: mysql LOCK TABLES notes WRITE; ERROR 1034 (HY000

Re: Incorrect key file for table

2011-01-15 Thread Johan De Meersman
On Sat, Jan 15, 2011 at 8:07 AM, Jørn Dahl-Stamnes sq...@dahl-stamnes.netwrote: On Saturday 15 January 2011 00:28, Johnny Withers wrote: The result of your query without the join probably exceeded your tmp_table_size variable. When this occurs, MySQL quit writing the temp table to disk

Re: Incorrect key file for table

2011-01-15 Thread Shawn Green (MySQL)
On 1/15/2011 02:07, Jørn Dahl-Stamnes wrote: On Saturday 15 January 2011 00:28, Johnny Withers wrote: The result of your query without the join probably exceeded your tmp_table_size variable. When this occurs, MySQL quit writing the temp table to disk thus producing an incorrect table file. (I

Incorrect key file for table

2011-01-14 Thread Jørn Dahl-Stamnes
Hello, While doing a select query I got the following error in the error-log file: Incorrect key feil for table '/tmp/#sql_5f8_0.MYI'; try to repair it It seem rather meaningless to try to repair a temporary table... So is this a bug in MySQL, or? The database I'm using has only InnoDb

Re: Incorrect key file for table

2011-01-14 Thread Johan De Meersman
Check your free diskspace on your temp location. On Fri, Jan 14, 2011 at 1:31 PM, Jørn Dahl-Stamnes sq...@dahl-stamnes.netwrote: Hello, While doing a select query I got the following error in the error-log file: Incorrect key feil for table '/tmp/#sql_5f8_0.MYI'; try to repair it It

RE: Incorrect key file for table

2011-01-14 Thread Jerry Schwartz
-Original Message- From: Jørn Dahl-Stamnes [mailto:sq...@dahl-stamnes.net] Sent: Friday, January 14, 2011 7:31 AM To: mysql@lists.mysql.com Subject: Incorrect key file for table Hello, While doing a select query I got the following error in the error-log file: Incorrect key feil

Re: Incorrect key file for table

2011-01-14 Thread Jørn Dahl-Stamnes
On Friday 14 January 2011 14:03, Johan De Meersman wrote: Check your free diskspace on your temp location. About 900+ Mb free. But I don't think that a full filesystem was the problem (I don't think the mysqld server was able to fill the disk with 900 Mb in 1-2 seconds). After some debugging

Re: Incorrect key file for table

2011-01-14 Thread Johnny Withers
The result of your query without the join probably exceeded your tmp_table_size variable. When this occurs, MySQL quit writing the temp table to disk thus producing an incorrect table file. (I think). JW On Fri, Jan 14, 2011 at 3:48 PM, Jørn Dahl-Stamnes sq...@dahl-stamnes.netwrote: On Friday

Re: Incorrect key file for table

2011-01-14 Thread Jørn Dahl-Stamnes
On Saturday 15 January 2011 00:28, Johnny Withers wrote: The result of your query without the join probably exceeded your tmp_table_size variable. When this occurs, MySQL quit writing the temp table to disk thus producing an incorrect table file. (I think). Yes, part of this was my fault (the

Incorrect key file for table '/var/lib/mysql/.tmp/#sql_d57_2.MYI' ??

2010-07-15 Thread Per Jessen
What does this error mean? mysql select ipaddr,reverse,count(distinct domain) from mxdata,domain group by ipaddr; ERROR 126 (HY000): Incorrect key file for table '/var/lib/mysql/.tmp/#sql_d57_2.MYI'; try to repair it /Per Jessen, Zürich -- MySQL General Mailing List For list archives: http

Re: Incorrect key file for table '/var/lib/mysql/.tmp/#sql_d57_2.MYI' ??

2010-07-15 Thread Per Jessen
Per Jessen wrote: What does this error mean? mysql select ipaddr,reverse,count(distinct domain) from mxdata,domain group by ipaddr; ERROR 126 (HY000): Incorrect key file for table '/var/lib/mysql/.tmp/#sql_d57_2.MYI'; try to repair it Please ignore. /Per Jessen, Zürich -- MySQL

ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_66b0_0.MYI'; try to repair it

2010-05-31 Thread Manasi Save
Hi All, I am getting following error when I am trying to run one stored procedure on table which has 30 rows in it. Table Type id MyIsAM. ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_66b0_0.MYI'; try to repair it How to debug this error? I mean I tried to increase

Re: ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_66b0_0.MYI'; try to repair it

2010-05-31 Thread Walter Heck - OlinData.com
in it. Table Type id MyIsAM. ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_66b0_0.MYI'; try to repair it How to debug this error? I mean I tried to increase tmp_table_Size parameter but, it does not affect. Proc is as follows :- CREATE definer=`myus...@`localhost` PROCEDURE

Re: ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_66b0_0.MYI'; try to repair it

2010-05-31 Thread Manasi Save
): Incorrect key file for table '/tmp/#sql_66b0_0.MYI'; try to repair it How to debug this error? I mean I tried to increase tmp_table_Size parameter but, it does not affect. Proc is as follows :- CREATE definer=`myus...@`localhost` PROCEDURE `SP_GetLogs`(InputToDate Date

Incorrect key file for table '...'; try to repair it on Innodb table

2010-02-25 Thread Yang Zhang
I'm getting Incorrect key file for table 'stock'; try to repair it for alter table stock add constraint pk_stock primary key (s_w_id, s_i_id);. I can't do repair table on this since it's an innodb table. Googling doesn't turn up any clear answers. Any way to recover from this, or is mysqldump

Re: Incorrect key file for table '...'; try to repair it on Innodb table

2010-02-25 Thread Ananda Kumar
This is due to less space in your /tmp file system. Change tmpdir parameter to point to a file system having more space and then try the adding the constraint. regards anandkl On Fri, Feb 26, 2010 at 5:14 AM, Yang Zhang yanghates...@gmail.com wrote: I'm getting Incorrect key file for table

Re: Error : Incorrect key file for table 'X'

2009-04-26 Thread zhu dingze
- From: Mark [mailto:ad...@asarian-host.net] Sent: zaterdag 25 april 2009 2:34 To: mysql@lists.mysql.com Subject: Error : Incorrect key file for table 'X' Odd. I just painstakingly upgraded to MySQL 5.1.34, coming from 5.0.77. So, I run: /usr/local/bin/mysql_upgrade, and get these all over

RE: Error : Incorrect key file for table 'X'

2009-04-26 Thread Mark
crashes. - Mark From: zhu dingze [mailto:mysql.li...@gmail.com] Sent: zondag 26 april 2009 16:40 To: Mark Cc: mysql@lists.mysql.com Subject: Re: Error : Incorrect key file for table 'X' Hey Dude, So many errors imply that there are some issues with your meta_data other than

SOLVED! (was: RE: Error : Incorrect key file for table 'X')

2009-04-26 Thread Mark
-Original Message- From: Mark [mailto:ad...@asarian-host.net] Sent: zondag 26 april 2009 17:04 To: mysql@lists.mysql.com Subject: RE: Error : Incorrect key file for table 'X' I found out it's actually a documented bug, for folks upgrading from 5.0.x to 5.1.x, http://bugs.mysql.com/bug.php?id

RE: SOLVED! (was: RE: Error : Incorrect key file for table 'X')

2009-04-26 Thread abdulazeez alugo
From: ad...@asarian-host.net Subject: SOLVED! (was: RE: Error : Incorrect key file for table 'X') Date: Sun, 26 Apr 2009 21:15:15 + To: mysql@lists.mysql.com Okay, I finally got it fixed. I was on the right track going the mysqldump route, but turns out I had to physically do a 'rm

RE: Error : Incorrect key file for table 'X'

2009-04-25 Thread Mark
] Sent: zaterdag 25 april 2009 2:34 To: mysql@lists.mysql.com Subject: Error : Incorrect key file for table 'X' Odd. I just painstakingly upgraded to MySQL 5.1.34, coming from 5.0.77. So, I run: /usr/local/bin/mysql_upgrade, and get these all over the place (see below; just a few lines: the error

Error : Incorrect key file for table 'X'

2009-04-24 Thread Mark
any idea what's happening? Thanks, - Mark Repairing tables albatross.banned Error: Incorrect key file for table 'banned'; try to repair it error: Corrupt albatross.bridge Error: Incorrect key file for table 'bridge'; try to repair it error: Corrupt

Re: ERROR 126 (HY000): Incorrect key file for table

2007-12-07 Thread Ananda Kumar
Hi All, We fixed the error by creating a composite index on (user_id,billing_run) On 12/5/07, Ananda Kumar [EMAIL PROTECTED] wrote: Hi All, I am getting below error when i am updating a table ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_5dc3_0.MYI'; try to r epair it Its

ERROR 126 (HY000): Incorrect key file for table

2007-12-05 Thread Ananda Kumar
Hi All, I am getting below error when i am updating a table ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_5dc3_0.MYI'; try to repair it Its a myisam engine, mysql update user_hist t,testprod.user_tory y set - t.billing_plan=y.billing_plan, t.referrer_info=y.referrer_info

Table corruption: Incorrect key file for table

2007-07-24 Thread Mark Dalton
I am getting table corruption on one machine that I was testing a change to get better performance. This is using the C API to connect to the database. With the delete without the sort by id, I started getting the database key corruption. There were about 2.6 million rows matched to be

Re: Table corruption: Incorrect key file for table

2007-07-24 Thread Mark Dalton
I just changed back to the 'order by id LIMIT 5000' and I have not seen further corruption. I also wanted to mention the other details about the system: The system is running Linux 2.6.16.21-0.8-smp (SLES10) mysql-5.0.18-20.5 And I do grant that we probably need to change the key cache.

Re: Incorrect key file for table '%-.64s'

2005-12-20 Thread Daniel Martinez
On 12/17/05, Gleb Paharenko [EMAIL PROTECTED] wrote: Hello. and slave. Error on master: 'Incorrect key file for table '%-.64s Really, the name of the table is strange enough. Is it possible that you have non-latin symbols in table name, which are displayed incorrectly on your

Re: Incorrect key file for table '%-.64s'

2005-12-18 Thread Gleb Paharenko
Hello. and slave. Error on master: 'Incorrect key file for table '%-.64s Really, the name of the table is strange enough. Is it possible that you have non-latin symbols in table name, which are displayed incorrectly on your terminal? If you're able check all your tables on the master

Incorrect key file for table '%-.64s'

2005-12-16 Thread Daniel Martinez
Hello list, After running my mysql server 4.1.14 with replication over some months without any problem, suddenly the slave's sql thread crashes. The error log says: 051215 17:29:49 [ERROR] Slave: Query caused different errors on master and slave. Error on master: 'Incorrect key file for table

Re: MyISAM vs InnoDB ----- Incorrect key file for table error

2005-07-10 Thread Gleb Paharenko
frequented with this error: Error 1034: Incorrect key file for table: ''; try to repair it Frequency of this error: Three or four times a week. I am logging the data it was trying to insert or update. After I, repair table tablename if, I try to insert the same data.. its accepts

Re: MyISAM vs InnoDB ----- Incorrect key file for table error

2005-07-10 Thread Per Andreas Buer
Praveen KS [EMAIL PROTECTED] writes: In a table of 20,000 records I am frequented with this error: Error 1034: Incorrect key file for table: ''; try to repair it Frequency of this error: Three or four times a week. I am logging the data it was trying to insert or update. After I

MyISAM vs InnoDB ----- Incorrect key file for table error

2005-07-08 Thread Praveen KS
Hi, In a table of 20,000 records I am frequented with this error: Error 1034: Incorrect key file for table: ''; try to repair it Frequency of this error: Three or four times a week. I am logging the data it was trying to insert or update. After I, repair table tablename if, I try

Re: max key file length

2005-02-08 Thread Ingo Strüwing
, the indexes file is the key file. Look into myisam/mi_open.c. You will find kfile=my_open(...). This is the place, where the key file is opened. Some lines later my_read(kfile,(char*) share-state.header...) the header structure is read. See myisam/myisamdef.h, typedef struct st_mi_state_info. This includes

Re: max key file length

2005-02-07 Thread sirisha gnvg
Ingo Strüwing [EMAIL PROTECTED] wrote: Hi Sirisha, Am Donnerstag, den 27.01.2005, 08:41 + schrieb sirisha gnvg: hai, I tried the command myisamchk -d -v .It gives the output containing data file length,key file length,max key file length of a myisam table.I supposed to use the value

Error 1034: Incorrect key file for table; try to repair it

2005-01-19 Thread Jacob Friis Larsen
Is there a workaround for bug 5686? http://bugs.mysql.com/bug.php?id=5686 We use Debian Linux testing and MySQL 4.1.8 Thanks, Jacob -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Key file

2004-04-19 Thread Mark Susol | Ultimate Creative Media
On one database, I keep seeing similar errors related to the key file for the different tables. 1034 Incorrect key file for table: Can't read key from filepos: 672768 error 5 when fixing table Can't copy datafile-header to tempfile, error 9 How do I diagnose if the database file structure

Key file

2004-04-19 Thread Mark Susol | Ultimate Creative Media
On one database, I keep seeing similar errors related to the key file for the different tables. 1034 Incorrect key file for table: Can't read key from filepos: 672768 error 5 when fixing table Can't copy datafile-header to tempfile, error 9 How do I diagnose if the database file structure

General error: Incorrect key file for table: 'RoleM'. Try to repair it

2003-10-03 Thread shahanawaz lakhani
Hello, I am facing a very strange problem, my application says General error: Incorrect key file for table: 'RoleM'. Try to repair it but when i trying myisamchk then it doesn't give any corruption error. I have tried many things but nothing seems to be of any help, i would really appreciate anhy

Re: General error: Incorrect key file for table: 'RoleM'. Try to repair it

2003-10-03 Thread jeffrey_n_Dyke
i googled your error and the first link looks like it may help google - General error: Incorrect key file for table www.vbulletin.com/forum/ showthread.php?t=5387goto=nextoldest hth Jeff

Key File Size

2003-07-11 Thread Carmine Smedira
We have loaded a very large dataset and received an error message stating that the key file is full. How do you go about increasing the allowable size of the key file? I assume by the key file the error message is referring to the .MYI file. Is this correct? Thank you for the help. Carmine

Re: Key File Size

2003-07-11 Thread Nils Valentin
Hi Carmine, Whats the physical size of the .MYI file and which OS version ?? Best regards Nils Valentin Tokyo/Japan 2003 7 12 00:23Carmine Smedira : We have loaded a very large dataset and received an error message stating that the key file is full. How do you go about increasing

Incorrect key file for table

2002-10-18 Thread Renato Silveira
I have this problem in MySQL select id from usuario; ERROR 1034: Incorrect key file for table: 'usuario'. Try to repair it How can I solve this problem? thks - Before posting, please check: http://www.mysql.com/manual.php

Re: Incorrect key file for table

2002-10-18 Thread Joseph Bueno
Renato Silveira wrote: I have this problem in MySQL select id from usuario; ERROR 1034: Incorrect key file for table: 'usuario'. Try to repair it How can I solve this problem? Repair it ! ;) See : http://www.mysql.com/doc/en/REPAIR_TABLE.html thks -- Joseph Bueno

re: Incorrect key file for table

2002-10-18 Thread Victoria Reznichenko
Renato, Friday, October 18, 2002, 1:01:06 PM, you wrote: RS select id from usuario; RS ERROR 1034: Incorrect key file for table: 'usuario'. Try to repair it RS How can I solve this problem? Repair your table: http://www.mysql.com/doc/en/Repair.html -- For technical support contracts

myisamchk and Incorrect key file

2001-06-15 Thread Kyle Cronan
Hello all, I was getting the following error trying to clean out a large table of call logs for a long distance billing system: mysql delete from calls where calltime'2001-02-01'; ERROR 1034: Incorrect key file for table: 'calls'. Try to repair it But then myisamchk finds nothing, even using

Re: myisamchk and Incorrect key file

2001-06-15 Thread Kyle Cronan
Never mind. This was simply my mistake. mysqld had a different copy of the table in it's cache, so the problem went away when I restarted the server process. Thanks anyway, Kyle Cronan [EMAIL PROTECTED] - Before posting,

Incorrect key file

2001-05-13 Thread saravanakumar
Hi, I got the following error regularly. java.sql.SQLException message given: General error: Incorrect key file for table: 'ALERTUSERPROPS'. Try to repair it According to the help document I executed the ' isamchk ALERTUSERPROPERTIES.ISM ` and the problem is solved. Please