Open phpMyAdmin, click the [User] button in the menu bar to enter the user management page
The user management page lists the current If you have user information, click [Add User] to create a new user
Enter the user name [User name]. There are two options: any user and use text field. There is no obvious difference between them. It is recommended to select "Use text field" and then enter the user name
in the text box. Enter the host [Host] information. There are four options here: any host (%), local (localhost), use host table (host), Use text field (that is, use text field).
Any host means matching all hosts; local means only the local host (localhost is filled in by default); using the host means that the data in the host table in the MySQL database shall prevail, and no information needs to be filled in (if filled in, This option is invalid); use a text field to indicate filling in the host address information yourself.
Select the "Local" option here.
Enter password and Re-type (confirm password). There are two options: no password, use text field. Select "Use text field" here, you can enter the password manually, or click the [Generate] button to automatically generate the password and display
for the user in the bottom text box assign permissions. (Select all here)
After the permissions are assigned, click the [Execute] button in the lower right corner to create a new user
Recommended related articles and tutorials: phpmyadmin tutorial
The above is the detailed content of How to create a new user in phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!