Imad Posted October 16, 2008 Share Posted October 16, 2008 Hi Guys. I'm trying to restore a table for a database using the restore table command in the linux shell. I have the table backed up in a txt file, but it doesn't seem like MySQL is taking it. Here's what it keeps giving me: +------------+---------+----------+--------------------------+ | Table | Op | Msg_type | Msg_text | +------------+---------+----------+--------------------------+ | tbl_posts | restore | error | Failed copying .frm file | +------------+---------+----------+--------------------------+ 1 row in set, 1 warning (0.00 sec) What is an .frm file? And how can I get my table restored? Best Regards. Link to comment https://forums.phpfreaks.com/topic/128742-solved-problem-restoring-it-asks-for-an-frm/ Share on other sites More sharing options...
Eiolon Posted October 16, 2008 Share Posted October 16, 2008 Try to use the source command rather than the restore command. Link to comment https://forums.phpfreaks.com/topic/128742-solved-problem-restoring-it-asks-for-an-frm/#findComment-667331 Share on other sites More sharing options...
Imad Posted October 16, 2008 Author Share Posted October 16, 2008 That worked. Thanks. Link to comment https://forums.phpfreaks.com/topic/128742-solved-problem-restoring-it-asks-for-an-frm/#findComment-667428 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.