{"id":239,"date":"2025-12-17T10:25:32","date_gmt":"2025-12-17T09:25:32","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=239"},"modified":"2026-06-07T14:59:55","modified_gmt":"2026-06-07T12:59:55","slug":"how-can-i-add-a-user-who-will-have-access-to-all-mysql-databases","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-can-i-add-a-user-who-will-have-access-to-all-mysql-databases\/","title":{"rendered":"How can I add a user who will have access to all MySQL databases?"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">In some situations, particularly when managing multiple websites or transferring data between databases, it may be useful to have a single MySQL user with access to all databases associated with your hosting account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A <strong>Master MySQL User<\/strong> provides this functionality, allowing you to use one set of credentials to connect to and manage all databases assigned to your account.<\/p>\n\n\n\n<\/div>\n\n<div id=\"mybox-3113667581\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">A Master MySQL User has extensive privileges across all databases associated with your hosting account. For security reasons, it should only be used for administrative tasks and by trusted users. Follow the steps below to add a master MySQL user:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1.<\/strong> Log in to <strong>the mybox panel<\/strong> and you will go to the <em><strong>&#8220;Databases&#8221;<\/strong><\/em> tab.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"150\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-99.png\" alt=\"\" class=\"wp-image-3980\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-99.png 489w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-99-300x92.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-99-18x6.png 18w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>2.<\/strong> Then select <em><strong>&#8220;MySQL Users&#8221;.<\/strong><\/em><\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"281\" height=\"116\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-100.png\" alt=\"\" class=\"wp-image-3982\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-100.png 281w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-100-18x7.png 18w\" sizes=\"auto, (max-width: 281px) 100vw, 281px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>3.<\/strong> On the page that loads, you will find a list of currently existing database users. Click the <em><strong>&#8220;+Add&#8221;<\/strong><\/em> button to expand the list of possible options.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"92\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-101.png\" alt=\"\" class=\"wp-image-3983\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-101.png 451w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-101-300x61.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-101-18x4.png 18w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>4.<\/strong> From the expanded list<em><strong>, select &#8220;Add User (Master)&#8221;.<\/strong><\/em><\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"315\" height=\"258\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-102.png\" alt=\"\" class=\"wp-image-3985\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-102.png 315w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-102-300x246.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-102-15x12.png 15w\" sizes=\"auto, (max-width: 315px) 100vw, 315px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<p class=\"wp-block-paragraph\"><strong>5.<\/strong> In the window that appears, specify the Master user login and define the <strong>password<\/strong> that he will be able to use. Click the <em><strong>&#8220;Add MySQL User&#8221;<\/strong><\/em> button to confirm the operation. That&#8217;s all.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"579\" height=\"504\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-103.png\" alt=\"\" class=\"wp-image-3987\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-103.png 579w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-103-300x261.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/image-103-14x12.png 14w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<div class=\"wp-block-onethird-callout-box onethird-callout-wrap\"><div class=\"onethird-callout onethird-callout--hint\" style=\"--ot-bg:#EAFFF7;--ot-border:#C8E8D8;--ot-text:#6F7C88;--ot-title:#384048;--ot-body:#6F7C88;--ot-icon:#384048;border-radius:6px;padding:16px\"><div class=\"onethird-callout__head\"><span class=\"onethird-callout__icon\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" aria-hidden=\"true\" focusable=\"false\"><path fill=\"none\" stroke=\"#384048\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M2 10h4v12H2V10zm20 1c0-1.1-.9-2-2-2h-6.31l.95-4.57.02-.2c0-.26-.11-.5-.29-.68L13.17 2 7.59 7.59C7.22 7.95 7 8.45 7 9v11c0 1.1.9 2 2 2h8c.82 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z\"><\/path><\/svg><\/span><div class=\"onethird-callout__title\">Note:<\/div><\/div><div class=\"onethird-callout__body\">The MySQL Master user has been granted permissions to all databases assigned to the account. Due to their broad privileges, use this user only for administrative tasks.<\/div><\/div><div class=\"onethird-callout__separator\" style=\"height:18px\" aria-hidden=\"true\"><\/div><\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[9,25],"manual_kb_tag":[3827,3828,283,1112,2670,3822,3823,3824,3825,3826],"class_list":["post-239","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-databases","manualknowledgebasecat-hosting","manual_kb_tag-cross-database-access","manual_kb_tag-databases-tab","manual_kb_tag-mybox-panel","manual_kb_tag-database-access","manual_kb_tag-database-user","manual_kb_tag-master-user","manual_kb_tag-master-account","manual_kb_tag-add-master-user","manual_kb_tag-add-my-user","manual_kb_tag-add-user"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/239\/revisions"}],"predecessor-version":[{"id":3829,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/239\/revisions\/3829"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=239"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=239"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}