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;
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;
That was really nicely explained short and straight-forward answer... thanks for sharing
ReplyDeletehi..nice post..well explained....
ReplyDeleteCan u plz post blog about showing layered navigation on home page....???
Thanx...
In your post is very great article. Keep more share your updates. Website Designing Company Bangalore | Website Designing Bangalore
ReplyDeleteThe 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..
ReplyDeletemagento development company in bangalore
Thanks for this!
ReplyDeleteMake 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.
For best and cheap manual Seo services, Web designings. Must check Website Designing Company Bangalore
ReplyDeleteGreat post! Thanks for sharing useful information. Keep posting about Magento Development Services.
ReplyDeleteexcellent post for resolving the SQL 1146 error and very useful. Thanks!
ReplyDeleteI 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.
ReplyDeletenewizze.com
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThese post is really helpful. Please share more ideas and tips related to Magento ecommerce development.
ReplyDeleteLooks great.Really its very useful information.Thanks for sharing the information with us.
ReplyDeleteEcommerce App Development Company | Mobile App Development Company In India | Best Web Design Company India
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!
ReplyDeleteHire wordpress developer India
Hire a Programmer
Hire PHP Developer India
Hire a Coder
Hire Magento developer India