http://iotn.co.kr 연락처: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / 日本政府は日本軍の性的奴隷?牲者に謝罪すべき. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [68]
02.File Book
File 자료실 [95]
Site Link [16]
개인폴더 [195]
03.Field Book
Altibase [19]
Tibero [29]
MS-SQL [18]
MySQL [38]
DB2 [77]
ORACLE [2762]
PostgreSQL [88]
기타정보 [146]
운영체제 [563]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [1]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Work Book :: MySQL

 회원가입

MySQL [ Can't open file: 'mydata.MYI'. (errno: 145) ]
최길호 [LIST]   2008-12-15 21:48:17, 조회 : 3,577

추가 2021/01/29
repair table webdb.'zetyx_board_bbs.MYI'. (에러번호: 145)
mysql> desc webdb.zetyx_board_bbs;
ERROR 1016: 화일을 열지 못했습니다.: 'zetyx_board_bbs.MYI'. (에러번호: 145)
mysql> repair table webdb.zetyx_board_bbss;
+-------------------------+--------+----------+------------------------------------------------------------+
| Table                   | Op     | Msg_type | Msg_text                                                   |
+-------------------------+--------+----------+------------------------------------------------------------+
| webdb.zetyx_board_bbss  | repair | error    | 테이블 'webdb.zetyx_board_9_1_bbss' 는 존재하지 않습니다.   |
+-------------------------+--------+----------+------------------------------------------------------------+

MySQL err log
210129  9:33:11 C:\Program Files\WEB\Server\MySQL\bin\mysqld-nt.exe: 화일을 열지 못했습니다.: 'zetyx_board_bbs.MYI'. (에러번호: 145)

확인
myisamchk -c "C:\Program Files\WEB\Server\MySQL\data\webdb\zetyx_board_bbs.MYI"
Data records:    2563   Deleted blocks:       0
myisamchk: warning: Table is marked as crashed
myisamchk: warning: 1769 clients are using or haven't closed the table properly
- check file-size
- check record delete-chain
- check key delete-chain
- check index reference
- check data record references index: 1
- check data record references index: 2
- check data record references index: 3
- check data record references index: 4
- check data record references index: 5
- check data record references index: 6
- check data record references index: 7
- check data record references index: 8
- check data record references index: 9
- check data record references index: 10
- check data record references index: 11
- check data record references index: 12
- check data record references index: 13
- check record links
myisamchk: error: Checksum for key:  9 doesn't match checksum for records
MyISAM-table 'C:\Program Files\WEB\Server\MySQL\data\webdb\zetyx_board_bbs.MYI' is corrupted
Fix it using switch "-r" or "-o"

조치
myisamchk -r "C:\Program Files\WEB\Server\MySQL\data\webdb\zetyx_board_bbs.MYI"
Data records: 2563
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
- Fixing index 5
- Fixing index 6
- Fixing index 7
- Fixing index 8
- Fixing index 9
- Fixing index 10
- Fixing index 11
- Fixing index 12
- Fixing index 13


update 2010/10/29

Can't open file: 'zetyx_board_1_1_ms.MYI'. (errno: 145)

cmd> mysql -u username -p
Enter password: *****

~~~~~~~~~~~~~~~
mysql> use dbname
Database changed
mysql> repair table zetyx_board_1_1_ms;
+---------------------------+--------+----------+----------+
| Table                     | Op     | Msg_type | Msg_text |
+---------------------------+--------+----------+----------+
| dbname.zetyx_board_1_1_ms | repair | status   | OK       |
+---------------------------+--------+----------+----------+

1 row in set (1.19 sec)

mysql>

출처: http://support.discusware.com/center/resources/errors/mysql145.html


///////////////////////////////////////////////////////////////

/MySQL/data/mydata# myisamchk mydata.MYI
Checking MyISAM file: mydata.MYI
Data records:    1004   Deleted blocks:       0
myisamchk: warning: Table is marked as crashed
myisamchk: warning: 7 clients are using or haven't closed the table properly
- check file-size
- check record delete-chain
- check key delete-chain
- check index reference
- check data record references index: 1
- check data record references index: 2
- check data record references index: 3
- check data record references index: 4
- check data record references index: 5
- check data record references index: 6
- check data record references index: 7
- check data record references index: 8
- check data record references index: 9
- check data record references index: 10
- check data record references index: 11
- check data record references index: 12
- check data record references index: 13
- check record links
myisamchk: error: Checksum for key:  9 doesn't match checksum for records
MyISAM-table 'mydata.MYI' is corrupted
Fix it using switch "-r" or "-o"

/MySQL/data/mydata# myisamchk -r mydata.MYI
- recovering (with sort) MyISAM-table 'mydata.MYI'
Data records: 1004
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
- Fixing index 5
- Fixing index 6
- Fixing index 7
- Fixing index 8
- Fixing index 9
- Fixing index 10
- Fixing index 11
- Fixing index 12
- Fixing index 13

/MySQL/data/mydata#
* 관리자님에 의해서 게시물 이동되었습니다 (2016-10-15 00:58)


최길호
MySQL이 안좋은건가?
장애도 쉽게 나고, 고치는것도 쉽네.

고치기전 백업 하고 test좀 해볼걸 ㅎㅎㅎ
2008-12-15
21:53:51



  LIST

Copyright 1999-2021 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2008/12/15
MySQL이 안좋은건가? 장애도 쉽게 나고,...
by 최길호
최근 게시물
09/25
[ORACLE]
ORA-00600: internal error code....
by 최길호
09/24
[ORACLE]
ORA-24247: network access deni....
by 최길호
07/18
[게시판]
이재명을 지지합니다~ ☜(゚ヮ゚....
by 최길호