Results 1 to 5 of 5

Thread: Cant open file in mySQL

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    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 !

    Parksie

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    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.

  3. #3

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    Your quit clever, for a Frog.

    Parksie

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Any luck?

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    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
  •  



Click Here to Expand Forum to Full Width