database table doesn't work

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
charli18
Forum Newbie
Posts: 11
Joined: Tue May 19, 2009 3:35 am

database table doesn't work

Post by charli18 »

Hi,
unfortunatly my computer got a very bad virus so I copied my database tables(.FRM) to other drive and format the current drive so I install again phpmyadmin and copy the FRM files in that but now it does'nt work, just display the number of table so when I click on the database there is no table,Please help me I don't know what to do and it's very important for me.
Thanks before your reply.
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: database table doesn't work

Post by Darhazer »

.frm contains only table structure, not the actual data
Did you copy any other files? What database engine you were using?
charli18
Forum Newbie
Posts: 11
Joined: Tue May 19, 2009 3:35 am

Re: database table doesn't work

Post by charli18 »

I am using phpmyadmmin(mysql) and no I just copy FRM files, so what to do now?
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: database table doesn't work

Post by Darhazer »

The data is lost, but you have a chance to restore the db schema.
Take a look at this article, hope it will help you
Post Reply