{"id":30932,"date":"2021-02-04T15:07:53","date_gmt":"2021-02-04T07:07:53","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=30932"},"modified":"2022-09-08T21:35:24","modified_gmt":"2022-09-08T13:35:24","slug":"how-to-manage-databases-and-database-users-in-plesk","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-manage-databases-and-database-users-in-plesk","title":{"rendered":"HOW TO: Manage databases and database users in Plesk"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

Managing Databases<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t

Creating Database<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

1. Firstly, log in to Plesk.<\/p>

2. In the left sidebar, click\u00a0Databases<\/strong>. The\u00a0Databases\u00a0<\/strong>page appears.<\/p>

3. Then, click Add Database<\/strong>. The\u00a0Add a Database<\/strong>\u00a0page appears.<\/p>

4. Next, type the database name that you want to use in the\u00a0Database name<\/strong> text box.<\/p>

5. In the\u00a0Database server<\/strong>\u00a0list box, select the type of database you want to create.<\/p>

6. In the\u00a0Related site<\/strong>\u00a0list box, select a site to associate with the new database, or accept the default value.<\/p>

7. To create a user for the database, under\u00a0Users<\/strong>, select the\u00a0Create a database user\u00a0<\/strong>check box.<\/p>

8. Then, type the username that you want to use in the\u00a0Database user name<\/strong> text box.<\/p>

9. After that, type a password for the database user in the\u00a0New password<\/strong>\u00a0and\u00a0Confirm password<\/strong> text boxes .<\/p>

10. Lastly, click OK<\/strong>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t

Deleting Database<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

1. Firstly, log in to Plesk.<\/p>

2. Secondly, click Databases <\/strong>in the left sidebar. The\u00a0Databases<\/strong>\u00a0page appears.<\/p>

3. In the section for the database that you want to remove, click\u00a0Remove Database<\/strong>.<\/p>

4. Lastly, click Yes <\/strong>to confirm database removal.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t

Managing Users<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t

Adding a User to Database<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

1. Firstly, log in to Plesk.<\/p>

2. Next, click Databases <\/strong>in the left sidebar.<\/p>

3. Click\u00a0User Management<\/strong>. The\u00a0Database Users<\/strong>\u00a0page appears.<\/p>

4. Then, click Add Database User<\/strong>. The\u00a0Adding Database User<\/strong>\u00a0page appears.<\/p>

5. In the\u00a0Database server<\/strong>\u00a0list box, select the type of database the new user will be assigned to.<\/p>

6. In the\u00a0Database user name<\/strong>\u00a0text box, type the username that you want to use.<\/p>

7. After that, type a password for the database user in the\u00a0New passwor<\/strong>d\u00a0and\u00a0Confirm password<\/strong> text boxes.<\/p>

8. In the\u00a0Database<\/strong>\u00a0list box, select a database to assign the new user to, or accept the default.<\/p>

9. Lastly, click OK<\/strong>. Plesk adds the user to the specified database.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t

Managing Database User Privileges<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

1. Firstly, log in to Plesk.<\/p>

2. Then, click\u00a0Databases<\/strong>. The\u00a0Databases<\/strong> page appears in the left sidebar.<\/p>

3. Click\u00a0User Management<\/strong>.<\/p>

4. Then, click the name of the database user you want to manage.<\/p>

5. To change the database user\u2019s password, in the\u00a0New password<\/strong>\u00a0and\u00a0Confirm password<\/strong>\u00a0text boxes, type a password for the database user.<\/p>

6. After that, select a database in the\u00a0Database<\/strong> list box to change the database to which the user is assigned.<\/p>

7. To change the database user\u2019s privileges for the selected database, in the\u00a0Role<\/strong>\u00a0list box select an access level.<\/p>

8. Lastly, click OK<\/strong>. Plesk updates the user\u2019s privileges for the database.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t

Read more on HOW TO: Find and install applications in Plesk<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"

Managing Databases Creating Database 1. Firstly, log in to Plesk. 2. In the left sidebar, click\u00a0Databases. The\u00a0Databases\u00a0page appears. 3. Then, click Add Database. The\u00a0Add a Database\u00a0page appears. 4. Next, type the database name that you want to use in the\u00a0Database name text box. 5. In the\u00a0Database server\u00a0list box, select the type of database you want […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[117],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30932"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=30932"}],"version-history":[{"count":1,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30932\/revisions"}],"predecessor-version":[{"id":31874,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30932\/revisions\/31874"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=30932"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=30932"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=30932"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=30932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}