Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.
Most website software, including WordPress, stores its content in a database. In the Databases tab you create databases and the users that are allowed to use them, open phpMyAdmin, and import or export your data.
Difficulty
Intermediate
Time
5 minutes
Installing WordPress or another app from Apps creates its database and user for you. You only need this page for software you install yourself.
The form shows how many databases you’ve used, for example 1 of ∞ databases used.
2
Name the database
Type a short name such as shop. The full name becomes something like example_com1_shop.
3
Choose a user
Tick an existing user, or choose Create new user and enter a Username and Password (lowercase, uppercase, number, special character, at least 10 characters; the key icon generates one).
4
Check the privileges
Under Advanced, All database privileges is ticked. Leave it on for normal website software.
Add a database
5
Click Add
You’ll see ‘shop’ added. Write down the full database name, username and password.
phpMyAdmin lets you browse tables, run queries and edit rows. Open it from the phpMyAdmin icon in the database list, the PhpMyAdmin button on the database page, or phpMyAdmin in Quick links on your website’s home page.
Changes in phpMyAdmin take effect immediately and can’t be undone. Export the database first.
By default, databases only accept connections from your website. To connect from your own computer (for example with MySQL Workbench or DBeaver):
1
Find your public IP address
Search “what is my IP” in your browser.
2
Add it to the user
On the user’s page, enter it in Remote access IP and click Add. You’ll see a message such as ‘203.0.113.10’ added.
3
Connect
Use the TCP connection address from the database’s Connection info, port 3306, and the user’s name and password.
Port 3306 is open to the internet, but only the IP addresses you add here can sign in. If your home or office IP changes, add the new one. If it still doesn’t connect, open a ticket.
Remove IPs you no longer use with the bin icon in the hosts list.
One of the four details in your website’s configuration file is wrong. Check the full database name and username (with the prefix), reset the password if needed, and use localhost as the host.
Access denied for user
The user isn’t attached to that database, or the password is wrong. Add the user on the database’s page with Add database user, or reset the password.
My import fails
The file must be .sql, .gz or .zip and no larger than 500 MB. For bigger databases, split the file or open a ticket.
Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!
Last Updated: October 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FREAKHOSTING","colors":{"primary":"#1a6fd1","light":"#4da3ff","dark":"#1a6fd1"},"favicon":"https://cdn.freakhosting.com/website/favicon.ico","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#ffffff","dark":"#0a0e17"}},"seo":{"metatags":{"og:image":"https://cdn.freakhosting.com/core/assets/heldesk-main.png","og:site_name":"FREAKHOSTING Help Center","og:locale":"en_GB","twitter:site":"@freakhosting","twitter:card":"summary_large_image","author":"FREAKHOSTING LTD","robots":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","copyright":"Copyright 2018-2026 FREAKHOSTING LTD","theme-color":"#0a0e17","color-scheme":"light dark"},"organization":{"id":"https://freakhosting.com/#organization","name":"FREAKHOSTING","legalName":"FREAKHOSTING LTD","url":"https://freakhosting.com","logo":"https://cdn.freakhosting.com/core/assets/img/logo-footer.png","sameAs":["https://x.com/freakhosting","https://discord.gg/freakhosting","https://github.com/freakhosting"]},"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-TSY6L544EM"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity",{"title":"Order a Server","description":"Browse our game server hosting plans","icon":"server","href":"https://freakhosting.com"},{"title":"Submit a Ticket","description":"Contact our 24/7 support team","icon":"ticket","href":"https://freakhosting.com/clientarea/submitticket.php"},{"title":"Join Discord","description":"Get community support and updates","icon":"discord","href":"https://discord.gg/freakhosting"}],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"freakhostingltd","hasAudioNarration":false,"actualSubdomain":"freakhostingltd","customDomains":["help.freakhosting.com"],"gitSource":{"type":"github","owner":"freakhosting","repo":"help.freakhosting.com","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4afc139bc6f1b8c505a0f","collectionId":"9bcadd92-279c-4eb1-beff-c5c16a998fef","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4afc139bc6f1b8c505a0f"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae4afc139bc6f1b8c505a0f","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Games","count":556},{"language":"default","tag":"Popular Games","count":163},{"language":"default","tag":"Survival Games","count":153},{"language":"default","tag":"Game Panel guides","count":97},{"language":"default","tag":"Commands \u0026 settings","count":89},{"language":"default","tag":"Guides \u0026 tips","count":83},{"language":"default","tag":"Shooters","count":74},{"language":"default","tag":"Racing \u0026 Simulation","count":72},{"language":"default","tag":"Sandbox \u0026 Building","count":45},{"language":"default","tag":"Minecraft","count":45}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"portals/web-panel/how-to-manage-mysql-databases","slug":"/portals/web-panel/how-to-manage-mysql-databases","pageMetadata":{"title":"How to Create and Manage MySQL Databases","sidebarTitle":"MySQL Databases","description":"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.","keywords":["FREAKHOSTING","web panel","MySQL","MariaDB","database","database user","phpMyAdmin","import SQL","export database","remote MySQL"],"href":"/portals/web-panel/how-to-manage-mysql-databases"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Most website software, including WordPress, stores its content in a `,_jsx(_components.strong,{children:`database`}),`. In the `,_jsx(_components.strong,{children:`Databases`}),` tab you create databases and the `,_jsx(_components.strong,{children:`users`}),` that are allowed to use them, open `,_jsx(_components.strong,{children:`phpMyAdmin`}),`, and import or export your data.`]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Difficulty`,icon:`gauge`,children:_jsx(_components.p,{children:`Intermediate`})}),_jsx(Card,{title:`Time`,icon:`clock`,children:_jsx(_components.p,{children:`5 minutes`})})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Installing WordPress or another app from `,_jsx(_components.a,{href:`/portals/web-panel/how-to-install-wordpress-and-web-apps`,children:`Apps`}),` creates its database and user for you. You only need this page for software you install yourself.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`the-databases-tab`,children:`The Databases tab`}),`\n`,_jsxs(_components.p,{children:[`Go to `,_jsx(_components.a,{href:`https://web.freakhosting.com/websites`,children:_jsx(_components.strong,{children:`Websites`})}),`, click your website, then click `,_jsx(_components.strong,{children:`Databases`}),`. There are two lists: `,_jsx(_components.strong,{children:`Databases`}),` and `,_jsx(_components.strong,{children:`Users`}),`.`]}),`\n`,_jsx(Frame,{caption:`Your databases`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-list.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=cdc89bfd963be2f4ab1dcc2b7e618052`,alt:`Databases tab with Databases and Users sub-tabs, Add user and Add database buttons, and a list of databases with type, users, size, a phpMyAdmin icon and a menu`,\"data-og-width\":`1551`,width:`1551`,\"data-og-height\":`384`,height:`384`,\"data-path\":`images/web-panel/db-list.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-list.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=f86b7a66ed75ee7596f4666d8f99b765 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-list.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=84dcb627b580b813fbf94aafd0bfcbe8 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-list.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=04f5239df83c71cb6255e97189e11fea 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-list.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=50de509792e73aab53d3487197f95890 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-list.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=143cfc13f5f7fe75d7de78f1f8f4a79c 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-list.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=12951ef0cce81e2306f1f07d4a9fb302 2500w`})}),`\n`,_jsxs(_components.p,{children:[`Every database and username starts with a prefix based on your website, such as `,_jsx(_components.code,{children:`example_com1_`}),`. The panel adds it for you.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-database`,children:`Create a database`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Click Add database`,children:_jsxs(_components.p,{children:[`The form shows how many databases you’ve used, for example `,_jsx(_components.em,{children:`1 of ∞ databases used`}),`.`]})}),_jsx(Step,{title:`Name the database`,children:_jsxs(_components.p,{children:[`Type a short name such as `,_jsx(_components.code,{children:`shop`}),`. The full name becomes something like `,_jsx(_components.code,{children:`example_com1_shop`}),`.`]})}),_jsx(Step,{title:`Choose a user`,children:_jsxs(_components.p,{children:[`Tick an existing user, or choose `,_jsx(_components.strong,{children:`Create new user`}),` and enter a `,_jsx(_components.strong,{children:`Username`}),` and `,_jsx(_components.strong,{children:`Password`}),` (lowercase, uppercase, number, special character, at least 10 characters; the key icon generates one).`]})}),_jsxs(Step,{title:`Check the privileges`,children:[_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Advanced`}),`, `,_jsx(_components.strong,{children:`All database privileges`}),` is ticked. Leave it on for normal website software.`]}),_jsx(Frame,{caption:`Add a database`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-add.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=6e6cf591043efef960da13a39f67345f`,alt:`Add database form with the database name prefix, a list to tick an existing user or create a new user with username and password, and an Advanced section with All database privileges ticked`,\"data-og-width\":`1168`,width:`1168`,\"data-og-height\":`767`,height:`767`,\"data-path\":`images/web-panel/db-add.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-add.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=b135ea7aa0a947965e7407883770cf8a 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-add.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=007b52b5378b1df05384e444aee316c2 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-add.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=875d103da154f69f0bb5a4ea79416e1f 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-add.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=33878418ed90d3fbad2811361b748e79 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-add.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=85b0466ec27359942e8d2c4420795a5c 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-add.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=617723f8c717b36a3052cebc4ff5cbc9 2500w`})})]}),_jsx(Step,{title:`Click Add`,children:_jsxs(_components.p,{children:[`You’ll see `,_jsx(_components.em,{children:`‘shop’ added`}),`. Write down the full database name, username and password.`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`connect-your-website-to-the-database`,children:`Connect your website to the database`}),`\n`,_jsx(_components.p,{children:`Most software asks for four details:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`What to enter`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Database host`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`localhost`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Database name`})}),_jsx(_components.td,{children:`The full name, including the prefix`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Username`})}),_jsx(_components.td,{children:`The full username, including the prefix`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Password`})}),_jsx(_components.td,{children:`The user’s password`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`To see these details again, click `,_jsx(_components.strong,{children:`⋮`}),` → `,_jsx(_components.strong,{children:`Manage`}),` next to the database.`]}),`\n`,_jsx(Frame,{caption:`Managing a database`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-manage.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=7b003e3bb146dd8b842f187c1b195edc`,alt:`Database page with Connection info (Unix socket path and a note to use localhost for PHP, TCP connection hidden), a PhpMyAdmin button, and a Users list with Add database user`,\"data-og-width\":`1372`,width:`1372`,\"data-og-height\":`881`,height:`881`,\"data-path\":`images/web-panel/db-manage.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-manage.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=0bac091379d094981ba67b0b121a8656 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-manage.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=11fe3f260651e4056c6d29e0e9c64fd0 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-manage.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=5737b7b31c86377f5a899432c457a737 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-manage.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=6094497706dc20aabe5fd369dbee870d 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-manage.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=ab0084340887c450e4e4d60828a380b6 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-manage.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=6d5d96753db6cdc207a0f3fbfe3582f9 2500w`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Section`}),_jsx(_components.th,{children:`What it’s for`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Connection info`})}),_jsxs(_components.td,{children:[`The socket path and connection address. `,_jsxs(_components.em,{children:[`If you are using PHP then you can set the database host to `,_jsx(_components.strong,{children:`localhost`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`PhpMyAdmin`})}),_jsx(_components.td,{children:`Opens phpMyAdmin in a new tab.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Users`})}),_jsxs(_components.td,{children:[`Add another user with `,_jsx(_components.strong,{children:`Add database user`}),`, or remove one with `,_jsx(_components.strong,{children:`⋮`}),` → `,_jsx(_components.strong,{children:`Revoke access`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Import SQL file`})}),_jsxs(_components.td,{children:[`Upload a `,_jsx(_components.code,{children:`.sql`}),`, `,_jsx(_components.code,{children:`.gz`}),` or `,_jsx(_components.code,{children:`.zip`}),` file, up to 500 MB.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Export SQL file`})}),_jsxs(_components.td,{children:[`Download the whole database as a `,_jsx(_components.code,{children:`.sql.gz`}),` file.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Delete`})}),_jsx(_components.td,{children:`Deletes the database and everything in it.`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`use-phpmyadmin`,children:`Use phpMyAdmin`}),`\n`,_jsxs(_components.p,{children:[`phpMyAdmin lets you browse tables, run queries and edit rows. Open it from the phpMyAdmin icon in the database list, the `,_jsx(_components.strong,{children:`PhpMyAdmin`}),` button on the database page, or `,_jsx(_components.strong,{children:`phpMyAdmin`}),` in `,_jsx(_components.strong,{children:`Quick links`}),` on your website’s home page.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Changes in phpMyAdmin take effect immediately and can’t be undone. `,_jsx(_components.a,{href:`#import-and-export-a-database`,children:`Export`}),` the database first.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`import-and-export-a-database`,children:`Import and export a database`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the database`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`⋮`}),` → `,_jsx(_components.strong,{children:`Manage`}),` next to it.`]})}),_jsx(Step,{title:`To import`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Import SQL file`}),`, upload your `,_jsx(_components.code,{children:`.sql`}),`, `,_jsx(_components.code,{children:`.gz`}),` or `,_jsx(_components.code,{children:`.zip`}),` file (500 MB maximum). Import into an empty database to avoid clashes with existing tables.`]})}),_jsx(Step,{title:`To export`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Export SQL file`}),`, click `,_jsx(_components.strong,{children:`Download`}),` to save a `,_jsx(_components.code,{children:`.sql.gz`}),` copy to your computer.`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`manage-a-database-user`,children:`Manage a database user`}),`\n`,_jsxs(_components.p,{children:[`Open the `,_jsx(_components.strong,{children:`Users`}),` list and click a user, or click their name on a database’s page.`]}),`\n`,_jsx(Frame,{caption:`A database user`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-user-manage.png?fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=e6e988673dc549f7de2017a65fa7afab`,alt:`Database user page with username, password Reset button, authentication plugin mysql_native_password, a Remote access IP field with Add, the hosts defined list, a Database access table and a Delete button`,\"data-og-width\":`1372`,width:`1372`,\"data-og-height\":`881`,height:`881`,\"data-path\":`images/web-panel/db-user-manage.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-user-manage.png?w=280\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=7e0a564697f5468325caa7ebea161fea 280w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-user-manage.png?w=560\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=df7cc0d06a9f74c3787fd128b74254de 560w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-user-manage.png?w=840\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=6396dbfe6055ce5ae8806cf98678437b 840w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-user-manage.png?w=1100\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=8ed68333ecd55f12b8cba1bfee729c67 1100w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-user-manage.png?w=1650\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=6ac7bbce3b6ea73b3388fd529c1ed3af 1650w, https://mintcdn.com/freakhostingltd/p0TGPFhMJ61UBHgI/images/web-panel/db-user-manage.png?w=2500\u0026fit=max\u0026auto=format\u0026n=p0TGPFhMJ61UBHgI\u0026q=85\u0026s=d7f1983214df31da7e985cef28757837 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Password`}),`: click `,_jsx(_components.strong,{children:`Reset`}),` to set a new one, then update your website’s configuration file with it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Database access`}),`: the databases this user can use.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Delete`}),`: removes the user. Websites using it will stop working.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`allow-remote-access`,children:`Allow remote access`}),`\n`,_jsx(_components.p,{children:`By default, databases only accept connections from your website. To connect from your own computer (for example with MySQL Workbench or DBeaver):`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Find your public IP address`,children:_jsx(_components.p,{children:`Search “what is my IP” in your browser.`})}),_jsx(Step,{title:`Add it to the user`,children:_jsxs(_components.p,{children:[`On the user’s page, enter it in `,_jsx(_components.strong,{children:`Remote access IP`}),` and click `,_jsx(_components.strong,{children:`Add`}),`. You’ll see a message such as `,_jsx(_components.em,{children:`‘203.0.113.10’ added`}),`.`]})}),_jsx(Step,{title:`Connect`,children:_jsxs(_components.p,{children:[`Use the TCP connection address from the database’s `,_jsx(_components.strong,{children:`Connection info`}),`, port `,_jsx(_components.code,{children:`3306`}),`, and the user’s name and password.`]})})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Port `,_jsx(_components.code,{children:`3306`}),` is open to the internet, but only the IP addresses you add here can sign in. If your home or office IP changes, add the new one. If it still doesn’t connect, `,_jsx(_components.a,{href:`https://freakhosting.com/clientarea/submitticket.php`,children:`open a ticket`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Remove IPs you no longer use with the bin icon in the hosts list.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Error establishing a database connection`,id:`error-establishing-a-database-connection`,children:_jsxs(_components.p,{children:[`One of the four details in your website’s configuration file is wrong. Check the full database name and username (with the prefix), reset the password if needed, and use `,_jsx(_components.code,{children:`localhost`}),` as the host.`]})}),_jsx(Accordion,{title:`Access denied for user`,id:`access-denied-for-user`,children:_jsxs(_components.p,{children:[`The user isn’t attached to that database, or the password is wrong. Add the user on the database’s page with `,_jsx(_components.strong,{children:`Add database user`}),`, or reset the password.`]})}),_jsx(Accordion,{title:`My import fails`,id:`my-import-fails`,children:_jsxs(_components.p,{children:[`The file must be `,_jsx(_components.code,{children:`.sql`}),`, `,_jsx(_components.code,{children:`.gz`}),` or `,_jsx(_components.code,{children:`.zip`}),` and no larger than 500 MB. For bigger databases, split the file or `,_jsx(_components.a,{href:`https://freakhosting.com/clientarea/submitticket.php`,children:`open a ticket`}),`.`]})}),_jsx(Accordion,{title:`I deleted a database by mistake`,id:`i-deleted-a-database-by-mistake`,children:_jsxs(_components.p,{children:[`Restore it from a backup with `,_jsx(_components.strong,{children:`Custom`}),` restore. See `,_jsx(_components.a,{href:`/portals/web-panel/how-to-create-and-restore-backups`,children:`Create and restore backups`}),`.`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsxs(Note,{children:[_jsx(Heading,{level:`3`,id:`need-extra-help`,children:`Need Extra Help?`}),_jsx(_components.p,{children:`If you encounter any issues, our support team is ready to assist:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Live Chat:`}),` Quick assistance via our website.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Support Ticket:`}),` `,_jsx(_components.a,{href:`https://freakhosting.com/clientarea/submitticket.php`,children:`Open a Ticket`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Discord:`}),` `,_jsx(_components.a,{href:`https://discord.gg/freakhosting`,children:`Join our Community`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Email:`}),` `,_jsx(_components.a,{href:`mailto:support@freakhosting.com`,children:`support@freakhosting.com`})]}),`\n`]})]}),`\n`,_jsxs(Tip,{children:[_jsx(Heading,{level:`3`,id:`save-on-your-hosting`,children:`Save on Your Hosting`}),_jsxs(_components.p,{children:[`Ready to upgrade your hosting? Use code `,_jsx(_components.strong,{children:`KB20`}),` at checkout for `,_jsx(_components.strong,{children:`20% off`}),` your first order!`]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(`div`,{align:`center`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Last Updated:`}),` October 2026`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"How to Create and Manage MySQL Databases","sidebarTitle":"MySQL Databases","description":"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.","keywords":["FREAKHOSTING","web panel","MySQL","MariaDB","database","database user","phpMyAdmin","import SQL","export database","remote MySQL"],"href":"/portals/web-panel/how-to-manage-mysql-databases"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The Databases tab","slug":"the-databases-tab","depth":2,"children":[]},{"title":"Create a database","slug":"create-a-database","depth":2,"children":[]},{"title":"Connect your website to the database","slug":"connect-your-website-to-the-database","depth":2,"children":[]},{"title":"Use phpMyAdmin","slug":"use-phpmyadmin","depth":2,"children":[]},{"title":"Import and export a database","slug":"import-and-export-a-database","depth":2,"children":[]},{"title":"Manage a database user","slug":"manage-a-database-user","depth":2,"children":[{"title":"Allow remote access","slug":"allow-remote-access","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Need Extra Help?","slug":"need-extra-help","depth":3,"children":[]},{"title":"Save on Your Hosting","slug":"save-on-your-hosting","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"freakhostingltd","siteName":"FREAKHOSTING","title":"How to Create and Manage MySQL Databases - FREAKHOSTING","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T16:57:31.122Z","originalFileLocation":"portals/web-panel/how-to-manage-mysql-databases.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FREAKHOSTING\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/x-icon\" sizes=\"180x180\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"32x32\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://cdn.freakhosting.com/website/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"How to Create and Manage MySQL Databases - FREAKHOSTING\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FREAKHOSTING Help Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cdn.freakhosting.com/core/assets/heldesk-main.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"How to Create and Manage MySQL Databases - FREAKHOSTING\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cdn.freakhosting.com/core/assets/heldesk-main.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/freakhostingltd/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FREAKHOSTING\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1a6fd1\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_GB\">\u003cmeta data-mint-head name=\"author\" content=\"FREAKHOSTING LTD\">\u003cmeta data-mint-head name=\"copyright\" content=\"Copyright 2018-2026 FREAKHOSTING LTD\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#0a0e17\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/portals/web-panel/how-to-manage-mysql-databases.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://freakhosting.com/#organization\",\"name\":\"FREAKHOSTING\",\"legalName\":\"FREAKHOSTING LTD\",\"url\":\"https://freakhosting.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.freakhosting.com/core/assets/img/logo-footer.png\"},\"sameAs\":[\"https://x.com/freakhosting\",\"https://discord.gg/freakhosting\",\"https://github.com/freakhosting\"]},{\"@type\":\"WebSite\",\"@id\":\"https://help.freakhosting.com#website\",\"name\":\"FREAKHOSTING\",\"url\":\"https://help.freakhosting.com\",\"publisher\":{\"@id\":\"https://freakhosting.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases#webpage\",\"url\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases\",\"name\":\"How to Create and Manage MySQL Databases\",\"description\":\"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.\",\"dateModified\":\"2026-10-24T16:57:31.122Z\",\"isPartOf\":{\"@id\":\"https://help.freakhosting.com#website\"},\"breadcrumb\":{\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"FREAKHOSTING\",\"item\":\"https://help.freakhosting.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create and Manage MySQL Databases\",\"item\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases#article\",\"headline\":\"How to Create and Manage MySQL Databases\",\"name\":\"How to Create and Manage MySQL Databases\",\"description\":\"Create MySQL (MariaDB) databases and users in the FREAKHOSTING Web Panel, connect your app, use phpMyAdmin, import and export SQL files and allow remote access.\",\"url\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases\",\"mainEntityOfPage\":{\"@id\":\"https://help.freakhosting.com/portals/web-panel/how-to-manage-mysql-databases#webpage\"},\"image\":\"https://cdn.freakhosting.com/core/assets/heldesk-main.png\",\"dateModified\":\"2026-10-24T16:57:31.122Z\",\"keywords\":\"FREAKHOSTING, web panel, MySQL, MariaDB, database, database user, phpMyAdmin, import SQL, export database, remote MySQL\",\"publisher\":{\"@id\":\"https://freakhosting.com/#organization\"},\"isPartOf\":{\"@id\":\"https://help.freakhosting.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FREAKHOSTING\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"FREAKHOSTING","nav":{"global":null,"tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/get-started/welcome"}]},{"tab":"Billing Area","icon":"credit-card","pages":[{"title":"Billing Area","href":"/portals/billing/how-to-login-and-access-the-billing-panel"}]},{"tab":"Game Panel","icon":"gamepad","pages":[{"title":"Game Panel","href":"/portals/game-panel/how-to-login-and-access-the-game-panel"}]},{"tab":"VPS Panel","icon":"server","pages":[{"title":"VPS Panel","href":"/portals/vps-panel/how-to-login-and-access-the-vps-control-panel"}]},{"tab":"Web Panel","icon":"globe","groups":[{"group":"Getting Started","pages":[{"title":"How to Find Your Way Around the Web Hosting Panel","sidebarTitle":"Panel Overview","href":"/portals/web-panel/web-panel-overview-and-dashboard"},{"title":"How to Add, Restart, Disable and Delete a Website","sidebarTitle":"Manage Websites","href":"/portals/web-panel/how-to-add-and-manage-websites"},{"title":"How to Install WordPress and Other Apps","sidebarTitle":"Install WordPress \u0026 Apps","href":"/portals/web-panel/how-to-install-wordpress-and-web-apps"},{"title":"How to Manage WordPress With the WordPress Toolkit","sidebarTitle":"WordPress Toolkit","href":"/portals/web-panel/how-to-manage-wordpress-with-the-toolkit"},{"title":"How to Give Someone Access to Your Websites","sidebarTitle":"Team \u0026 Collaborators","href":"/portals/web-panel/how-to-invite-team-members-and-collaborators"},{"title":"How to Manage Your Panel Account, Two-Factor Authentication and Plan Usage","sidebarTitle":"Account, 2FA \u0026 Usage","href":"/portals/web-panel/how-to-manage-your-account-and-two-factor-authentication"}]},{"group":"File Management","pages":[{"title":"How to Use the File Manager","sidebarTitle":"File Manager","href":"/portals/web-panel/how-to-use-the-file-manager"},{"title":"How to Create and Manage FTP Accounts","sidebarTitle":"FTP Accounts","href":"/portals/web-panel/how-to-create-and-manage-ftp-accounts"},{"title":"How to Connect to Your Website with SSH and SFTP","sidebarTitle":"SSH \u0026 SFTP Access","href":"/portals/web-panel/how-to-connect-with-ssh-and-sftp"}]},{"group":"Domains \u0026 DNS","pages":[{"title":"How to Point Your Domain and Manage Domains and Subdomains","sidebarTitle":"Domains \u0026 Subdomains","href":"/portals/web-panel/how-to-manage-domains-and-dns-records"},{"title":"How to Manage DNS Records and DNSSEC","sidebarTitle":"DNS Records \u0026 DNSSEC","href":"/portals/web-panel/how-to-manage-dns-records-and-dnssec"},{"title":"How to Set Up DKIM, Mail Routing and Gmail for Your Domain","sidebarTitle":"Email Authentication \u0026 Routing","href":"/portals/web-panel/how-to-configure-email-authentication-and-routing"},{"title":"How to Set Up URL Redirects","sidebarTitle":"URL Redirects","href":"/portals/web-panel/how-to-setup-url-redirects"},{"title":"How to Connect Cloudflare or Slack to Your Web Hosting","sidebarTitle":"Cloudflare \u0026 Slack","description":"Connect your Cloudflare account to the FREAKHOSTING web hosting panel so your DNS records stay in sync, or send account notifications to a Slack channel.","href":"/portals/web-panel/how-to-connect-cloudflare-and-slack-integrations"}]},{"group":"Databases","pages":[{"title":"How to Create and Manage MySQL Databases","sidebarTitle":"MySQL Databases","href":"/portals/web-panel/how-to-manage-mysql-databases"}]},{"group":"SSL \u0026 Security","pages":[{"title":"How to Get a Free SSL Certificate and Force HTTPS","sidebarTitle":"SSL \u0026 HTTPS","description":"Request free Let's Encrypt SSL certificates for your website and email, check certificate status and turn on Force HTTPS in the FREAKHOSTING Web Panel.","href":"/portals/web-panel/how-to-manage-ssl-certificates-and-https"},{"title":"How to Install a Custom SSL Certificate and Fix SSL Problems","sidebarTitle":"Custom SSL \u0026 Troubleshooting","href":"/portals/web-panel/how-to-install-custom-ssl-and-troubleshoot"}]},{"group":"Email Services","pages":[{"title":"How to Create and Manage Email Accounts","sidebarTitle":"Email Accounts","href":"/portals/web-panel/how-to-create-and-manage-email-accounts"},{"title":"How to Configure Spam Filtering, Forwarding and Auto-Replies","sidebarTitle":"Spam, Forwarding \u0026 Auto-Replies","href":"/portals/web-panel/how-to-configure-email-spam-and-forwarding"},{"title":"How to Use Webmail and Set Up Email on Your Computer or Phone","sidebarTitle":"Webmail \u0026 Email Apps","href":"/portals/web-panel/how-to-setup-email-clients-and-devices"}]},{"group":"Performance \u0026 PHP","pages":[{"title":"How to Speed Up Your Website","sidebarTitle":"Website Performance","href":"/portals/web-panel/how-to-optimize-website-performance"},{"title":"How to Change Your PHP Version, Extensions and php.ini Settings","sidebarTitle":"PHP Version \u0026 Settings","href":"/portals/web-panel/how-to-change-php-version"},{"title":"How to Run a Node.js App with Worker Processes","sidebarTitle":"Node.js \u0026 Worker Processes","href":"/portals/web-panel/how-to-deploy-nodejs-applications"},{"title":"How to Set Up Cron Jobs (Scheduled Tasks)","sidebarTitle":"Cron Jobs","href":"/portals/web-panel/how-to-set-up-cron-jobs"}]},{"group":"Backups \u0026 Analytics","pages":[{"title":"How to Restore Your Website From a Backup","sidebarTitle":"Backups \u0026 Restore","href":"/portals/web-panel/how-to-create-and-restore-backups"},{"title":"How to Check Your Website's Visitors and Bandwidth","sidebarTitle":"Analytics \u0026 Bandwidth","href":"/portals/web-panel/understanding-website-analytics-and-bandwidth"}]}]},{"tab":"Firewall Panel","icon":"shield","pages":[{"title":"Firewall Panel","href":"/portals/firewall/firewall-panel-overview"}]},{"tab":"Games","icon":"dice","pages":[{"title":"Games","href":"/games/getting-started"}]},{"tab":"Other","icon":"ellipsis","pages":[{"title":"Other","href":"/portals/other/how-to-connect-to-database-using-heidisql"}]}]},"basePath":"","title":"How to Create and Manage MySQL Databases - FREAKHOSTING","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DXXFP6nH.js","DynamicMarkdown-B54_zNBF.js","zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}