Home >Database >phpMyAdmin >How to add foreign key constraints in phpMyAdmin

How to add foreign key constraints in phpMyAdmin

藏色散人
藏色散人forward
2020-11-20 15:15:0811274browse

The following is used by phpmyadmin to introduce the method of adding foreign key constraints to phpMyAdmin using the tutorial column. I hope it will be helpful to friends in need!


  1. Click on the database where you want to add foreign keys
  2. Click on the tables one by one (I use user as an example)
  3. Click operation
  4. Modify the storage engine in the table options
  5. Omit the process of modifying other tables
  6. Click on the one you want to add a foreign key to Table
  7. Point structure
  8. Point association structure
  9. Add foreign key

  10. Save
  11. Finish and call it a day

The above is the detailed content of How to add foreign key constraints in phpMyAdmin. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete