Home > Database > phpMyAdmin > body text

How to set the primary key when creating a new data table in phpmyadmin

王林
Release: 2019-12-28 16:13:35
Original
3364 people have browsed it

How to set the primary key when creating a new data table in phpmyadmin

Open the phpMyAdmin application software, enter the database name and login password on the login page, and then click Execute, as shown in the figure below:

How to set the primary key when creating a new data table in phpmyadmin

After successfully logging in to phpMyAdmin, click Database on the left navigation, as shown in the figure below:

How to set the primary key when creating a new data table in phpmyadmin

In the phpMyAdmin database, we click on New Database Table, as shown in the figure below:

How to set the primary key when creating a new data table in phpmyadmin

After opening the phpMyAdmin new database table page, click the drop-down menu in the "Index" of the new table column on the right to select primary. Selecting primary means that the primary key of the table has been set. , and then click Execute, as shown below:

How to set the primary key when creating a new data table in phpmyadmin

Recommended related articles and tutorials: phpmyadmin tutorial

The above is the detailed content of How to set the primary key when creating a new data table 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!