{"id":742,"date":"2026-06-17T06:59:06","date_gmt":"2026-06-17T06:59:06","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/"},"modified":"2026-07-26T18:48:56","modified_gmt":"2026-07-26T16:48:56","password":"","slug":"cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/","title":{"rendered":"Cum \u00eenregistrez o baz\u0103 de date MySQL\/MSSQL existent\u0103 \u00een Plesk pentru Windows?"},"content":{"rendered":"<p>Dac\u0103 ai o baz\u0103 de date MySQL sau MSSQL pe server care nu apare \u00een Plesk (la <strong>Domains \u2192 domeniul t\u0103u \u2192 Databases<\/strong>), o po\u021bi \u00eenregistra din linia de comand\u0103.<\/p>\n<ol>\n<li>Conecteaz\u0103-te la serverul Windows prin RDP \u0219i deschide <strong>cmd<\/strong>.<\/li>\n<li>Listeaz\u0103 serverele de baze de date instalate:\n<pre><code>plesk db \"SELECT host,port FROM DatabaseServers\"<\/code><\/pre>\n<\/li>\n<li>\u00cenregistreaz\u0103 baza de date \u00een Plesk:\n<pre><code>plesk bin database.exe --register db_name -domain exemplu.com -server &lt;IP_server_DB&gt;<\/code><\/pre>\n<\/li>\n<li>\u00cenregistreaz\u0103 \u0219i asociaz\u0103 utilizatorul bazei de date:\n<pre><code>plesk bin database.exe --register-dbuser db_user -domain exemplu.com -database db_name \\\n  -user-role readWrite -passwd \"&lt;parola&gt;\" -server &lt;IP_server_DB&gt;<\/code><\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Dac\u0103 ai o baz\u0103 de date MySQL sau MSSQL pe server care nu apare \u00een Plesk (la Domains \u2192 domeniul t\u0103u \u2192 Databases), o po\u021bi \u00eenregistra din linia de comand\u0103. Conecteaz\u0103-te la serverul Windows prin RDP \u0219i deschide cmd. Listeaz\u0103 serverele de baze de date instalate: plesk db &#8222;SELECT host,port FROM DatabaseServers&#8221; \u00cenregistreaz\u0103 baza de &#8230; <a title=\"Cum \u00eenregistrez o baz\u0103 de date MySQL\/MSSQL existent\u0103 \u00een Plesk pentru Windows?\" class=\"read-more\" href=\"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/\" aria-label=\"Cite\u0219te mai multe despre Cum \u00eenregistrez o baz\u0103 de date MySQL\/MSSQL existent\u0103 \u00een Plesk pentru Windows?\">Cite\u0219te mai mult<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":1977,"footnotes":""},"doc_category":[137],"doc_tag":[231,243,392,235,236,250],"class_list":["post-742","docs","type-docs","status-publish","hentry","doc_category-plesk","doc_tag-baza-de-date","doc_tag-linia-de-comanda","doc_tag-mssql","doc_tag-mysql","doc_tag-plesk","doc_tag-windows-server"],"year_month":"2026-11","word_count":108,"total_views":"20","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Adrian Firican","author_nicename":"techeditor1","author_url":"https:\/\/www.hostx.ro\/kb\/author\/techeditor1\/"},"doc_category_info":[{"term_name":"Plesk","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/plesk\/"}],"doc_tag_info":[{"term_name":"baz\u0103 de date","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/baza-de-date\/"},{"term_name":"linia de comand\u0103","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/linia-de-comanda\/"},{"term_name":"MSSQL","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/mssql\/"},{"term_name":"MySQL","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/mysql\/"},{"term_name":"Plesk","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/plesk\/"},{"term_name":"Windows Server","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/windows-server\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u00cenregistrare baz\u0103 de date MySQL\/MSSQL \u00een Plesk Windows - Centrul de suport HostX<\/title>\n<meta name=\"description\" content=\"Ghid pentru \u00eenregistrarea unei baze de date MySQL sau MSSQL existente \u00een Plesk pentru Windows prin linia de comand\u0103.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00cenregistrare baz\u0103 de date MySQL\/MSSQL \u00een Plesk Windows - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"Ghid pentru \u00eenregistrarea unei baze de date MySQL sau MSSQL existente \u00een Plesk pentru Windows prin linia de comand\u0103.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-26T16:48:56+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Timp estimat pentru citire\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\\\/\",\"name\":\"\u00cenregistrare baz\u0103 de date MySQL\\\/MSSQL \u00een Plesk Windows - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-17T06:59:06+00:00\",\"dateModified\":\"2026-07-26T16:48:56+00:00\",\"description\":\"Ghid pentru \u00eenregistrarea unei baze de date MySQL sau MSSQL existente \u00een Plesk pentru Windows prin linia de comand\u0103.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cum \u00eenregistrez o baz\u0103 de date MySQL\\\/MSSQL existent\u0103 \u00een Plesk pentru Windows?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00cenregistrare baz\u0103 de date MySQL\/MSSQL \u00een Plesk Windows - Centrul de suport HostX","description":"Ghid pentru \u00eenregistrarea unei baze de date MySQL sau MSSQL existente \u00een Plesk pentru Windows prin linia de comand\u0103.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/","og_locale":"ro_RO","og_type":"article","og_title":"\u00cenregistrare baz\u0103 de date MySQL\/MSSQL \u00een Plesk Windows - Centrul de suport HostX","og_description":"Ghid pentru \u00eenregistrarea unei baze de date MySQL sau MSSQL existente \u00een Plesk pentru Windows prin linia de comand\u0103.","og_url":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-07-26T16:48:56+00:00","twitter_card":"summary_large_image","twitter_misc":{"Timp estimat pentru citire":"1 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/","url":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/","name":"\u00cenregistrare baz\u0103 de date MySQL\/MSSQL \u00een Plesk Windows - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-06-17T06:59:06+00:00","dateModified":"2026-07-26T16:48:56+00:00","description":"Ghid pentru \u00eenregistrarea unei baze de date MySQL sau MSSQL existente \u00een Plesk pentru Windows prin linia de comand\u0103.","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/cum-inregistrez-o-baza-de-date-mysql-ms-sql-in-plesk-pentru-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Cum \u00eenregistrez o baz\u0103 de date MySQL\/MSSQL existent\u0103 \u00een Plesk pentru Windows?"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=742"}],"version-history":[{"count":2,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/742\/revisions"}],"predecessor-version":[{"id":5993,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/742\/revisions\/5993"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=742"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=742"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}