Database management in Plesk
CREATING A DATABASE
-
Log in to Plesk.
-
In the left sidebar, click Databases (Home > Domains > Databases). The Databases page appears.
-
Click Add Database. The "Add a Database page" appears.
-
In the Database name text box, type the database name that you want to use.
-
In the Database server list box, select the type of database you want to create.
-
In the Related site list box, select a site to associate with the new database, or accept the default value.
-
To create a user for the database, under Users, select the Create a database user check box.
-
In the Database user name text box, type the username that you want to use.
-
In the New password and Confirm password text boxes, type a password for the database user.
-
Alternatively, you can click Generate and Plesk generates a random, strong password for you.
-
Click OK. Plesk creates the database.
DELETING A DATABASE
-
Log in to Plesk.
-
In the left sidebar, click Databases. The Databases page appears.
-
In the section for the database that you want to remove, click Remove Database.
-
To confirm database removal, click Yes. Plesk removes the database.
ADDING A USER TO A DATABASE
-
Log in to Plesk.
-
In the left sidebar, click Databases. The Databases page appears.
-
Click User Management. The Database Users page appears.
-
Click Add Database User. The Adding Database User page appears.
-
In the Database server list box, select the type of database the new user will be assigned to.
-
In the Database user name text box, type the username that you want to use.
-
In the New password and Confirm password text boxes, type a password for the database user.
-
Alternatively, you can click Generate and Plesk generates a random, strong password for you.
-
In the Database list box, select a database to assign the new user to, or accept the default.
-
Click OK. Plesk adds the user to the specified database.
MANAGING DATABASE USER PRIVILEGES
-
Log in to Plesk.
-
In the left sidebar, click Databases.
-
Click User Management.
-
Click the name of the database user you want to manage.
-
To change the database user's password, in the New password and Confirm password text boxes, type a password for the database user.
-
Alternatively, you can click Generate and Plesk generates a random, strong password for you.
-
To change the database to which the user is assigned, select a database in the Database list box.
-
To change the database user's privileges for the selected database, in the Role list box select an access level.
-
Click OK. Plesk updates the user's privileges for the database.