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. Quote 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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.