Friday, May 30, 2014

Magento #1146 - Table doesn't exist

Magento #1146 - Table doesn't exist. I faced a very irritating issue. When i logged in phpmyadmin and looked at a table in left column the table shows. But when i try to open that table by clicking on it , it throws error "#1146 - Table `DB NAME.tag_summary` doesn't exist "

I tried to drop the table and create the table agian but it throws same error "#1146 - Table `DB NAME.tag_summary` doesn't exist".

Below is the solution:

You would need to access the server via SSH and after that navigate to /var/lib/mysql and go to the database folder.

For eg: cd /var/lib/mysql/DATABASE Folder and then delete the table using

rm -rf DB NAME.tag_summary

rm -rf DB NAME.tag_summary.ibd

rm -rf DB NAME.tag_summary.frm

Then connect to mysql by using the command mysql and follow the below steps:

use DB NAME;

DROP TABLE DB NAME.tag_summary;

14 comments:

  1. That was really nicely explained short and straight-forward answer... thanks for sharing

    ReplyDelete
  2. hi..nice post..well explained....
    Can u plz post blog about showing layered navigation on home page....???
    Thanx...

    ReplyDelete
  3. The blog was absolutely fantastic! Lot of great information which can be helpful in some or the other way. Keep updating the blog, looking forward for more contents...Great job, keep it up..
    magento development company in bangalore 

    ReplyDelete
  4. Thanks for this!

    Make sure you backup the database before doing this and make sure you don't back it up under the same mysql/ database as it might cause mysql to crash - like it happened to me. Immediately I moved the DB to a different folder I was able to restart the service.

    ReplyDelete
  5. For best and cheap manual Seo services, Web designings. Must check Website Designing Company Bangalore

    ReplyDelete
  6. Great post! Thanks for sharing useful information. Keep posting about Magento Development Services.

    ReplyDelete
  7. excellent post for resolving the SQL 1146 error and very useful. Thanks!

    ReplyDelete
  8. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.
    newizze.com

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. These post is really helpful. Please share more ideas and tips related to Magento ecommerce development.

    ReplyDelete
  12. Looks great.Really its very useful information.Thanks for sharing the information with us.
    Ecommerce App Development Company | Mobile App Development Company In India | Best Web Design Company India

    ReplyDelete
  13. The blog you have shared is incredibly helpful. The tips you have shared related to web development is really informative. Thanks for sharing this blog!
    Hire wordpress developer India
    Hire a Programmer
    Hire PHP Developer India
    Hire a Coder
    Hire Magento developer India

    ReplyDelete