List:General Discussion« Previous MessageNext Message »
From:Ofer Inbar Date:November 19 2007 10:58pm
Subject:Re: ERROR 3 (HY000): Error writing file (Errcode: 5)
View as plain text  
Daevid Vincent <daevid@stripped> wrote:
> mysql> use mydbB;
> mysql> CREATE TABLE foo ( id int(10) unsigned NOT NULL auto_increment, name
> varchar(255) NOT NULL, PRIMARY KEY id (id) );
> ERROR 3 (HY000): Error writing file './mydbB/foo.frm' (Errcode: 5)
> 
> mysql> use mydbA;
> mysql> CREATE TABLE foo ( id int(10) unsigned NOT NULL auto_increment, name
> varchar(255) NOT NULL, PRIMARY KEY id (id) );
> Query OK, 0 rows affected (0.04 sec)
> 
> root@daevid111:/var/lib/mysql# ll
> total 28748
> drwxrwxrwx    2 mysql    mysql        8192 Nov 16 22:46 mydbA
> drwxrwxrwx    2 mysql    mysql        4096 Nov 16 22:50 mydbB
> -rw-rw----    1 mysql    mysql     5242880 Nov 16 22:46 ib_logfile0
> -rw-rw----    1 mysql    mysql     5242880 Nov 13 22:07 ib_logfile1
> -rw-rw----    1 mysql    mysql    18874368 Nov 16 22:46 ibdata1
> drwx------    2 mysql    mysql        4096 Nov 13 22:07 mysql
> drwx------    2 mysql    mysql        4096 Nov 13 22:06 test

Does there already exist a foo.frm file in mydbB?
If so, are its permissions unusual and/or is there a hardware disk error?
  -- Cos
Thread
ERROR 3 (HY000): Error writing file (Errcode: 5)Daevid Vincent17 Nov
  • Re: ERROR 3 (HY000): Error writing file (Errcode: 5)Ady Wicaksono17 Nov
  • Re: ERROR 3 (HY000): Error writing file (Errcode: 5)Ofer Inbar19 Nov