Home > Database > phpMyAdmin > body text

How to set foreign key constraints in phpmyadmin

王林
Release: 2019-12-05 16:50:37
Original
4819 people have browsed it

How to set foreign key constraints in phpmyadmin

First select the database where foreign key constraints need to be set

How to set foreign key constraints in phpmyadmin

Select the table where foreign key constraints need to be set and click [Operation] (required Set the storage engine of the master table and the slave table to be the same)

How to set foreign key constraints in phpmyadmin

Then click [Structure]

How to set foreign key constraints in phpmyadmin

Then click [Related View 】

How to set foreign key constraints in phpmyadmin

Then add foreign key constraints

How to set foreign key constraints in phpmyadmin

Finally click [Save]

How to set foreign key constraints in phpmyadmin

Related tutorial recommendations: phpmyadmin tutorial

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

source:php.cn
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