Home > Database > phpMyAdmin > body text

How to add foreign key constraints in phpMyAdmin

藏色散人
Release: 2020-11-20 15:18:03
forward
11212 people have browsed it

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template