Add a new user account in phpMyAdmin

Source: Internet
Author: User
Add a new user account in phpMyAdmin to ensure database security. try not to use root to connect to the website database. this is not a problem when you used the cPanel panel. it is very easy to add an account, currently, VPS does not provide any panel. you can only use phpmyadmin to create a new user account in phpMyAdmin.

For the sake of database security, try not to use root to connect to the database of the website. this is not a problem when using the cPanel panel. it is very easy to add an account. now VPS does not provide any panel, you can only use phpmyadmin to create a new user account. this is a bit unfamiliar. record it for review.

1. select the database to be managed on the left, click "permission" on the right, and click "add new user" at the lower part of the page that appears ";

?

2. enter the user name in the logon information area. select the local host. you can enter the password or generate the password automatically (do not forget it ). The next step is the user database option. for example, I first created a database and then added a new user. the default option is correct, and the following global permission option is ignored, leave it empty and click execute.

?

3. adding a new account ends. As follows:

Someone suggested that you do not select the management permissions of new users. you only need to select all the data and structures. However, I found that the wp-dbmanager plug-in cannot back up and restore the database, therefore, the default settings are as good as above. do not change them any more. the wp-dbmanager plug-in works normally and my website can also run normally.

Check the newly created user account testtest. The permission can only be valid for a database:

?

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.