What are the “Internal Relations” defined in phpMyAdmin?

前端 未结 1 1487
有刺的猬
有刺的猬 2021-02-02 07:33

In the phpMyAdmin relation view, there is a column for \"internal relation\" right next tor \"foreign key constraint\". I know what foreign keys are used for in mySQL, but I\'v

相关标签:
1条回答
  • 2021-02-02 07:44

    This is a phpmyadmin internal mechanism to manage relationship between tables.
    This feature is actually useful for MYISAM tables which don't support foreign keys and constraints.
    By defining internal relations in phpmyadmin you link tables together which otherwise can't be linked. These information are stored in a phpmyadmin specific table inside your MySQL server (phpmyadmin.PMA_relation).

    However this is just a phpmyadmin internal definition and has no effect on mysql itself (no foreign key constraints or referential integrity are enforced).

    See here for additional information.

    0 讨论(0)
提交回复
热议问题