{"id":105,"date":"2017-10-17T05:24:03","date_gmt":"2017-10-17T05:24:03","guid":{"rendered":"https:\/\/www.websupporters.com\/support\/knowledgebase\/?post_type=ht_kb&#038;p=105"},"modified":"2025-06-11T09:57:20","modified_gmt":"2025-06-11T04:27:20","slug":"how-to-create-a-mysql-or-mssql-database-in-plesk-panel","status":"publish","type":"ht_kb","link":"https:\/\/www.websupporters.com\/support\/knowledgebase\/kb\/how-to-create-a-mysql-or-mssql-database-in-plesk-panel\/","title":{"rendered":"How to create a Mysql or MSSQL database in Plesk Panel?"},"content":{"rendered":"<p>Databases are relational structures used for storing data. Databases are indispensable in modern\u00a0<a href=\"https:\/\/www.websupporters.com\/web-hosting\/\" target=\"_blank\" rel=\"noopener\">web hosting<\/a>, and most of the popular CMS requires a database to operate. Plesk supports MySQL and MSSQL database servers and enables you to add, remove and access databases, as well as manage database users.<\/p>\n<h2 id=\"to-create-a-database-and-a-database-user-in-plesk\" class=\"procedureheading\"><strong>To create a database and a database user in Plesk:<\/strong><\/h2>\n<ol>\n<li><a href=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/knowledge-base\/login-plesk-control-panel\/\" target=\"_blank\" rel=\"noopener\">Login To Plesk control panel.<\/a><\/li>\n<li>Go to the\u00a0<strong>Databases.<br \/>\n<a href=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/10\/plesk-database1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-109\" src=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/10\/plesk-database1-300x153.jpg\" alt=\"\" width=\"300\" height=\"153\" \/><\/a><br \/>\n<\/strong><\/li>\n<li>Next page click\u00a0<strong>Add Database<br \/>\n<a href=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/10\/add-database.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-108\" src=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/10\/add-database-300x173.jpg\" alt=\"\" width=\"300\" height=\"173\" \/><\/a><\/strong><\/li>\n<li>Assign a name to your database within the\u00a0<strong>Database name<\/strong>\u00a0field and select the database server <strong>Mysql or MSSQL<\/strong> from the\u00a0drop-down menu.<br \/>\n<a href=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/12\/select-mysql-or-mssql.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-206\" src=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/12\/select-mysql-or-mssql-300x74.jpg\" alt=\"\" width=\"300\" height=\"74\" \/><\/a><\/li>\n<\/ol>\n<p>A database must have at least one user account associated with it. Otherwise, it will be impossible to access the database. You can create a database user while creating a database by selecting the\u00a0<strong>Create a database user\u00a0<\/strong>check box. Alternatively, you can select a user later, for example, if you want to use one of the existing user accounts.<\/p>\n<ol>\n<li>Select Create a database user.\u00a0if you want to create a new user for this database and enter a username and password for it. Otherwise, deselect the option.<\/li>\n<li>Assign a username to your database within the\u00a0<strong>Database username<\/strong>\u00a0field.<\/li>\n<li>Assign a password to your database user within the\u00a0<strong>New\u00a0Password<\/strong>\u00a0field.<\/li>\n<li>To use the database user for accessing any of your databases, select\u00a0<strong>User has access to all databases within the selected subscription<\/strong>.<\/li>\n<li>Click Ok<br \/>\n<a href=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/10\/database-pass.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-106\" src=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-content\/uploads\/2017\/10\/database-pass-300x132.jpg\" alt=\"\" width=\"300\" height=\"132\" \/><\/a><\/li>\n<li>Now your database will now be set up and ready to use.<\/li>\n<\/ol>\n<p>If you want to <a href=\"https:\/\/www.websupporters.com\/support\/knowledgebase\/knowledge-base\/how-to-upload-or-restore-database-using-plesk-panel\/\">upload a database from your local machine to server\u00a0using Plesk. Please click here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Databases are relational structures used for storing data. Databases are indispensable in modern\u00a0web hosting, and most of the popular CMS requires a database to operate. Plesk supports MySQL and MSSQL database servers and enables you to add, remove and access databases, as well as manage database users. To create a&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[3],"ht-kb-tag":[],"class_list":["post-105","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-windows-hosting"],"_links":{"self":[{"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":0,"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/105\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=105"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.websupporters.com\/support\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}