简体   繁体   中英

visible table does not exist in phpmyadmin

In mysqlworkbench, I created a view, committed it to the database, but I no longer needed it. As such, I deleted the view in mysql workbench and then updated the database.

I thought all was fine, however in phpmyadmin, it says that the table still exists. What's more, it is constantly in use.

I tried to drop the table within phpmyadmin, however when I try to drop the table, it provides an error message saying:

1051 - Unknown table ... indicating to me that the table is not there.

but it still remains showing in the database, and under collation, it says that the table is 'in use'.

Any advice here?

Problem solved.

It appears as though you cannot delete a view from the database by normal means. The following solved the problem for me.

DROP VIEW IF EXISTS viewName;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM