MySQL: How do I find out which tables reference a specific table?

前端 未结 7 1993
挽巷
挽巷 2021-01-31 08:21

I want to drop a table but it is referenced by one or more other tables. How can I find out which tables are referencing this table without having to look at each of the tables

7条回答
  •  滥情空心
    2021-01-31 08:53

    If you have phpMyAdmin installed, you can use its designer feature to visualize table relationships.

    To use the designer, select a database, then look for the Designer tab.

提交回复
热议问题