Use Virtualmin/Webmin panel to add MYSQL database user method

888u

Last update at :2024-06-25,Edit by888u

Generally when we use the Virtualmin/Webmin panel, we directly add the domain to the newly created site, and then the database and FTP information will be generated uniformly. However, if we need to add a secondary directory site under a certain site, we need to use an independent database, including Snail, which does not know how to add a new database user before consulting the information.

Even though I tried the "Virtualmin/Webmin Panel Installation phpMyAdmin Management Database Tutorial" method to add a new database user after adding the PHPMYADMIN panel, but the permissions were not enough to add, so I could only use it after consulting the information. How to get to this article, so I share it so that friends who see it in the future can refer to it.

First, switch the Webmin panel in the panel

We need to switch from Virtualmin to Webmin, in the upper left corner. Then we find the MySQL Database Server menu, and we can see that the database management user and database name are added in the right panel.

Second, add a new database user

After clicking user permissions in the picture above, we are ready to add a new user.

Click "Create new user" in the picture above to add a new database user.

Set the username and password we need and select all permissions.

Third, add database name

Use the same method to add database users to Database permissions.

Then we can add information and authorization according to the requirements.

At this point our new database and user have been added. Finally, I need to add one thing, how to solve it if we need to import the database?

Supplement: Virtualmin/Webmin panel import database method

Go back to the Virtualmin panel, and then go to the Edit Databases menu of the current site

Then click to manage the current database and Execute SQL import.

According to the picture above, we click the Run SQL from file tab menu, and then import the local database from uploaded file to complete.

In conclusion, through this article we can complete the process of adding Virtualmin/Webmin panel database users and how to import the local database. We hope it will be useful to Virtualmin/Webmin panel users.

Recommended site search: What is a domain name server, Shanghai domain name registration, website registration system, website space provider, query whether a domain name is registered, cn domain name registration, independent IP space, high-defense US server, Hong Kong server purchase, website registration information query ,

Use Virtualmin/Webmin panel to add MYSQL database user method

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码