Home > Database > phpMyAdmin > body text

How to set primary key for data table in phpmyadmin

王林
Release: 2020-02-15 17:38:41
Original
4314 people have browsed it

How to set primary key for data table in phpmyadmin

Find the table to add and set the primary key in the database corresponding to phpMyAdmin. Then click on the corresponding "Structure" behind the table, as shown in the following figure:

How to set primary key for data table in phpmyadmin

After opening the phpMyAdmin database table structure, we can see the primary key corresponding to the database table. We Click on the primary key to add and set the primary key to the phpMyAdmin table, as shown in the following figure:

How to set primary key for data table in phpmyadmin

phpMyAdmin prompts that the table primary key is set successfully. At this time, you can see that the key at the primary key changes color. , as shown in the figure below:

How to set primary key for data table in phpmyadmin

Recommended related tutorials: phpmyadmin tutorial

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

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!