{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["availability","callout","img","partial","faq","faq-item"]},"type":"markdown","userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"Exclusive to select subscription plans"},"seo":{"title":"Integrate MySQL with Databox","description":"Connect your MySQL database to Databox to query, filter, and visualize your data alongside metrics from your other tools.","siteUrl":"https://help.databox.com","llmstxt":{"title":"Databox Knowledge Base","description":"Databox is a business analytics platform that consolidates data in one place, enabling real-time performance tracking and insights by mixing and matching data from various sources for a comprehensive view.","details":{"content":"This knowledge base covers everything from account setup and integrations to building Databoards, creating custom metrics, and using AI-powered features."},"sections":[{"title":"General","includeFiles":["docs/general/*.md","docs/general/visualization-types/*.md","docs/general/templates/*.md"],"excludeFiles":[]},{"title":"AI","includeFiles":["docs/ai/*.md"],"excludeFiles":[]},{"title":"Account Management","includeFiles":["docs/account-management/**/*.md"],"excludeFiles":[]},{"title":"Databoards","includeFiles":["docs/databoards/**/*.md"],"excludeFiles":[]},{"title":"Data Management","includeFiles":["docs/data-management/**/*.md"],"excludeFiles":[]},{"title":"Metrics","includeFiles":["docs/metrics/**/*.md"],"excludeFiles":[]},{"title":"Forecasts","includeFiles":["docs/forecasts/*.md"],"excludeFiles":[]},{"title":"Goals","includeFiles":["docs/goals/*.md"],"excludeFiles":[]},{"title":"Reports","includeFiles":["docs/reports/*.md"],"excludeFiles":[]},{"title":"Notifications","includeFiles":["docs/notifications/*.md"],"excludeFiles":[]},{"title":"Pricing and Billing","includeFiles":["docs/pricing-and-billing/*.md"],"excludeFiles":[]},{"title":"Mobile","includeFiles":["docs/mobile/*.md"],"excludeFiles":[]},{"title":"Support","includeFiles":["docs/support/*.md"],"excludeFiles":[]},{"title":"Integrations","includeFiles":["docs/integrations/**/*.md"],"excludeFiles":[]}],"hide":false,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"integrate-mysql-with-databox","__idx":0},"children":["Integrate MySQL with Databox"]},{"$$mdtype":"Tag","name":"Availability","attributes":{"users":"users","accounts":"all","plans":"exclusive"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MySQL is a widely used open-source relational database management system (RDBMS) that stores and retrieves structured data using SQL. It powers everything from small web applications to large-scale enterprise systems and is commonly deployed on-premises, in the cloud, or as a managed service such as Amazon RDS or Google Cloud SQL. Connecting MySQL to Databox lets you pull data directly from your database, build custom metrics using SQL queries, and visualize business-critical figures alongside data from your other connected tools."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"connection","__idx":1},"children":["Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you've already established a connection, you can ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/add-a-data-source"},"children":["reuse"]}," it to add new data sources to your Databox account."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-1-create-a-read-only-mysql-user-for-databox","__idx":2},"children":["Step 1: Create a read-only MySQL user for Databox"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Databox only reads data from your database — it never writes to it. Create a dedicated MySQL user with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SELECT"]},"-only privileges scoped to the Databox IP address."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MySQL 8.0+ (modern syntax):"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"CREATE USER 'databox'@'52.4.198.118' IDENTIFIED BY 'your_secure_password';\nGRANT SELECT ON your_database.* TO 'databox'@'52.4.198.118';\nFLUSH PRIVILEGES;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MySQL 5.x (legacy single-statement syntax):"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"GRANT SELECT ON your_database.* TO 'databox'@'52.4.198.118' IDENTIFIED BY 'your_secure_password';\nFLUSH PRIVILEGES;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["your_database"]}," with the name of the database you want to connect, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["your_secure_password"]}," with a strong password. If you need to grant access to multiple databases, repeat the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GRANT"]}," statement for each one."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Callout","attributes":{"type":"note"},"children":["Avoid the following special characters in your MySQL password, as they can cause encoding issues when establishing the connection: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["`"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\""]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\\"]},", and spaces."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-2-configure-mysql-to-accept-remote-connections","__idx":3},"children":["Step 2: Configure MySQL to accept remote connections"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["By default, MySQL binds only to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["localhost"]}," (127.0.0.1) and does not accept external connections. To allow Databox to connect, update the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bind-address"]}," setting in your MySQL configuration file."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open your MySQL configuration file. The path depends on your system:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/etc/mysql/my.cnf"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/etc/mysql/mysql.conf.d/mysqld.cnf"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Locate the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bind-address"]}," directive in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[mysqld]"]}," section and set it to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0.0.0.0"]}," (all interfaces) or your server's public IP:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ini","header":{"controls":{"copy":{}}},"source":"bind-address = 0.0.0.0\n","lang":"ini"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save the file and restart the MySQL service to apply the change:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"sudo systemctl restart mysql\n","lang":"bash"},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Callout","attributes":{"type":"note"},"children":["If you are using a managed MySQL service (such as Amazon RDS, Google Cloud SQL, or PlanetScale), remote connectivity is typically enabled through the service's console or security group settings rather than by editing a configuration file."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-3-whitelist-the-databox-ip-address","__idx":4},"children":["Step 3: Whitelist the Databox IP address"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open port ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3306/TCP"]}," for inbound connections from the Databox IP address ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]}," on your server's firewall or network security rules. The exact steps depend on your infrastructure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Linux (iptables):"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iptables -A INPUT -s 52.4.198.118/32 -p tcp --dport 3306 -j ACCEPT"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AWS RDS:"]}," In the AWS Console, add an inbound rule to your database's security group allowing TCP on port 3306 from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118/32"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other managed services:"]}," Add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]}," to your database's IP allowlist in the service's network access settings."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-4-enter-your-mysql-connection-details-in-databox","__idx":5},"children":["Step 4: Enter your MySQL connection details in Databox"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In Databox, go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Sources > + New connection"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Search for ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MySQL"]}," and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Fill in the connection form:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data source name"]}," — a label for this connection in Databox."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Host"]}," — the hostname or IP address of your MySQL server."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Port"]}," — the port MySQL listens on. The default is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3306"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["User"]}," — the MySQL username created in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#step-1-create-a-read-only-mysql-user-for-databox"},"children":["Step 1"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Password"]}," — the password for that user."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Database name"]}," (optional) — the specific database to connect to. Leave blank to connect at the server level."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timezone"]}," — the time zone used to interpret date values in query results. Defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Etc/UTC"]},"."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SSL/TLS mode"]}," (see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#ssltls"},"children":["SSL/TLS"]}," below)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/integrate-mysql-with-databox_1.47c0ecb7ac9fbeccacba5c8f4ffd66f79206d94a35b8453dd2e2725b19c1f73a.4783b0ec.png","alt":"connect","withLightbox":true,"className":"ss-img"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ssltls","__idx":6},"children":["SSL/TLS"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Databox offers three SSL/TLS modes when connecting to a database. Choose the one that matches your server's configuration."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"class":"table-header-col","className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mode"},"children":["Mode"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The connection is made without SSL/TLS encryption. Use this only when your server does not have SSL enabled."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Use SSL/TLS with provider CA bundle"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The connection uses SSL/TLS and authenticates the server using a regional CA bundle managed by your cloud provider (for example, Amazon RDS). When you check ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Verify server certificate using regional CA bundle"]},", an additional ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CA certificate bundle (ssl-ca)"]}," field appears, where you can paste your provider's CA certificate."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Use SSL/TLS with custom certificates"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The connection uses SSL/TLS with certificates you supply directly. When ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Verify server certificate"]}," is checked, you must provide a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CA certificate (ssl-ca)"]},". You may also supply a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client certificate (ssl-cert)"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client private key (ssl-key)"]}," for mutual TLS. If ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Verify server certificate"]}," is unchecked, only the client certificate and private key fields are shown."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For step-by-step instructions on generating or obtaining SSL certificates and configuring them for each mode, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/enable-ssl-tls-for-your-database-connection"},"children":["Enable SSL/TLS for your database connection"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"datasets","__idx":7},"children":["Datasets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The MySQL integration supports the creation of ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/understanding-datasets"},"children":["datasets"]},", which allow you to define and shape the specific data you want to use for reporting in Databox. Datasets make it easier to focus on the most relevant information, enabling you to filter, visualize, and analyze metrics across projects, teams, and clients without writing complex queries each time."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"steps-to-create-a-dataset","__idx":8},"children":["Steps to create a dataset:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select a table"]},": Pick the appropriate schema within that database."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select columns"]},": Browse and select the specific columns (fields) from your tables or views to include in your dataset. These columns define the structure and content of your dataset."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"optional-write-sql","__idx":9},"children":["Optional: Write SQL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more advanced use cases, you can write a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["custom SQL query"]}," instead of selecting columns manually. This allows you to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Join multiple tables"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Apply filters and aggregations"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Format or transform data before importing it into Databox"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your query must return a valid tabular result to be used as a dataset."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"additional-resources","__idx":10},"children":["Additional resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://dev.mysql.com/doc/"},"children":["MySQL Documentation"]}," — Official MySQL documentation hub covering installation, SQL syntax, storage engines, security, replication, and release notes for all supported versions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://dev.mysql.com/doc/refman/8.0/en/"},"children":["MySQL 8.0 Reference Manual"]}," — Complete reference for MySQL 8.0, including SQL statements, data types, functions, user management, and server configuration."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"resources","__idx":11},"children":["Resources"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For comprehensive details on metrics, data availability, templates, specifications, usage guidelines, and other key information, refer to the resources listed below."]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":240},"children":[{"$$mdtype":"Tag","name":"IntegrationResources","attributes":{"integrationKey":"mysql","hideMetrics":true},"children":[]}]},{"$$mdtype":"Tag","name":"Faq","attributes":{},"children":[{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"Can I connect a managed MySQL service like Amazon RDS or Google Cloud SQL?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Yes. Managed MySQL services are supported. Make sure the database is publicly accessible and that the Databox IP address (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]},") is added to the service's inbound security rules or IP allowlist. For Amazon RDS, refer to the AWS documentation for configuring SSL and network access."]}]},{"$$mdtype":"Tag","name":"FaqItem","attributes":{"question":"What should I do if Databox cannot connect to my MySQL server?"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the following in order:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bind-address"]}," in your MySQL configuration allows external connections"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your firewall permits inbound TCP traffic on port ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3306"]}," from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["52.4.198.118"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The MySQL user was created with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'databox'@'52.4.198.118'"]}," as the host — not ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'%'"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'localhost'"]},". Run ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLUSH PRIVILEGES;"]}," after any user or grant changes."]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[" "]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":4,"cardMinWidth":160},"children":[{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Ask Genie","icon":"genie","to":"https://app.databox.com/genie","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get instant answers or help with your data using the in-app AI assistant."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Talk to an expert","icon":"assistance","to":"https://meetings.hubspot.com/databox-meeting/account-management","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For customers: Get help with your setup, strategy, or making the most of Databox."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Book a demo","icon":"eye-open","to":"https://meetings.hubspot.com/databox-meeting/ref-knowledge-base","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["New to Databox? See how it works and get guidance on getting started."]}]},{"$$mdtype":"Tag","name":"FooterCard","attributes":{"title":"Send an email","icon":"help","to":"mailto:help@databox.com","variant":"elevated"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reach out to support for help with your account, data, or technical issues."]}]}]}]},"headings":[{"value":"Integrate MySQL with Databox","id":"integrate-mysql-with-databox","depth":1},{"value":"Connection","id":"connection","depth":2},{"value":"Step 1: Create a read-only MySQL user for Databox","id":"step-1-create-a-read-only-mysql-user-for-databox","depth":3},{"value":"Step 2: Configure MySQL to accept remote connections","id":"step-2-configure-mysql-to-accept-remote-connections","depth":3},{"value":"Step 3: Whitelist the Databox IP address","id":"step-3-whitelist-the-databox-ip-address","depth":3},{"value":"Step 4: Enter your MySQL connection details in Databox","id":"step-4-enter-your-mysql-connection-details-in-databox","depth":3},{"value":"SSL/TLS","id":"ssltls","depth":2},{"value":"Datasets","id":"datasets","depth":2},{"value":"Steps to create a dataset:","id":"steps-to-create-a-dataset","depth":3},{"value":"Optional: Write SQL","id":"optional-write-sql","depth":3},{"value":"Additional resources","id":"additional-resources","depth":3},{"value":"Resources","id":"resources","depth":2}],"frontmatter":{"slug":"integrate-mysql-with-databox","seo":{"title":"Integrate MySQL with Databox","description":"Connect your MySQL database to Databox to query, filter, and visualize your data alongside metrics from your other tools."},"keywords":{"includes":["MySQL integration","connect MySQL to Databox","MySQL dataset","MySQL custom SQL query","MySQL read-only user","MySQL remote connection","whitelist Databox IP MySQL","MySQL SSL TLS","MySQL cannot connect","MySQL bind address","MySQL port 3306"]},"metadata":{"userRole":"Users, Editors, and Admins","accountType":"All accounts","plan":"Exclusive to select subscription plans"}},"lastModified":"2026-04-17T19:27:17.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/integrate-mysql-with-databox","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}