Home  >  Article  >  Database  >  How to use phpmyadmin to set mysql permissions

How to use phpmyadmin to set mysql permissions

王林
王林Original
2019-12-11 14:26:491754browse

How to use phpmyadmin to set mysql permissions

Step 1: Log in as root user

How to use phpmyadmin to set mysql permissions

Step 2: Create a new database and select the sorting rules, here I use testtable

How to use phpmyadmin to set mysql permissions

#Step 3: We create a new user and enter the relevant account name and password

How to use phpmyadmin to set mysql permissions

Step 4: We edit the permissions for the user testuser we just added

How to use phpmyadmin to set mysql permissions

After entering the page, we only need to choose to specify permissions by database. There is no need to check global permissions

How to use phpmyadmin to set mysql permissions

After clicking, a permissions page will appear. Just select all and execute

How to use phpmyadmin to set mysql permissions

At this time After we log in as testuser, we only see the testtable library and the related operation permissions of this table

How to use phpmyadmin to set mysql permissions

Recommended related articles and tutorials: phpmyadmin tutorial

The above is the detailed content of How to use phpmyadmin to set mysql permissions. 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