|
-
Dec 3rd, 2003, 09:32 AM
#1
Thread Starter
Fanatic Member
Cant open file in mySQL
I have taken a backup of my database and restored it onto our working server.
The restore seems to work fine till I try and open any of the tables.
I get :
Error no. 1016
Can't open file: tablename.MYI (errno:144)
I have had a look in "c:\mysql\data\mydatabase name\" and all the MYI files are there.
Any ideas ?
I am in deep poo if I cant get this working !
-
Dec 3rd, 2003, 11:21 PM
#2
Go to the mysql bin folder (You know where that is, right?)
run
myisamchk.exe tablename
It'll give you info on the table... you should also try it with the corresponding .myd file
There are some switches in the myisamchk.exe utility that can attempt to fix the file for you.
-
Dec 4th, 2003, 05:10 AM
#3
Thread Starter
Fanatic Member
Your quit clever, for a Frog.
-
Dec 4th, 2003, 08:08 AM
#4
-
Dec 4th, 2003, 08:09 AM
#5
Originally posted by venerable bede
Your quit clever, for a Frog.
You're quite attractive, for a bede.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|