Home  >  Article  >  Backend Development  >  How to set primary key in phpmyadmin

How to set primary key in phpmyadmin

(*-*)浩
(*-*)浩Original
2019-10-11 14:53:104265browse

How to set primary key 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. (Recommended learning: PHP video tutorial)

How to set primary key in phpmyadmin

After successfully logging in to phpMyAdmin, click Database on the left navigation, as follows As shown in the figure.

How to set primary key in phpmyadmin

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

How to set primary key 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 it is set. The primary key of the table, and then click Execute, as shown in the figure below.

How to set primary key in phpmyadmin

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

Statement:
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
Previous article:How to indent php code?Next article:How to indent php code?