Using phpMyAdmin to create a separate database account method for MySQL database

Source: Internet
Author: User
Tags phpmyadmin

Let's Make a concrete demo:

1, first we want to login phpMyAdmin (as the current mainstream development language), do not do demo.

2, create a database, the following figure, in phpMyAdmin (as the current mainstream development language) right window, fill in the database name, point creation can.

For example, here we create a database with the name: Cncmstest
Successful creation will have the following tips:

3, click on the top left corner of the homepage button, back to phpMyAdmin (as now the mainstream development language) main interface:

4. Click "Permissions" on the right side of the main screen to create the database account number.

5, in the Permissions page, we click "Add New User"

6, in this page, we fill in the database to create the user name, the user's access scope, and password.

As shown above, we have filled in the user name: Cncmsuser, the database user only allows local access, host a selection of locally; the password we use automatically generated, the point below "Generate" will generate a random password, and then point "Copy" will automatically fill in the Password box.
The following boxes are not selected, directly pull to the bottom of the page to execute to create a new user.
The database user is successfully created and returns the following page:

7, the most important step, set the user's database access permissions
You can set permissions directly in a page where the database user adds a successful return. Here we choose to specify permissions by database:

As shown above, select the Cncmstest we just created in the list of databases, which automatically enters the permissions settings page for that database.

In the permission settings of the diagram above, we select all the permissions for the data, structure, and administrative permissions. Point execution can be

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.