Skip to main content

Setting up MySQL or MariaDB as a data source

When setting up MySQL or MariaDB to work with Growthbook, remember it's important to create read-only users with minimal permissions, ideally granting only read access to the relevant data tables that need to be aggregated.

If you are using GrowthBook Cloud (, make sure to whitelist the ip address if applicable.

Unfortunately there isn't a specific guide for setting up MySQL or MariaDB for Growthbook yet. However, if you encounter any difficulties while setting up your data source, you can seek assistance from our active developer community on Slack. They can help you troubleshoot and ensure your implementation is successful. Once you've successfully set up MySQL or MariaDB according to best practices, we encourage you to contributing to the community by creating improved documentation for MySQL or MariaDB. Your contribution will benefit other users in the future.