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:
?