mysql to spreadsheets MySQL + Google Sheets Google Spreadsheets =

KPIBees Google Add-on.

How to import MySQL to Google Sheets

Let’s assume that you want to import data from your mysql database into spreadsheets because you think your marketing colleagues would better cope with the familiar excel format or you might want to create reports that contain both information from other tools and internal database data.

You’ve came to the right place, one easy way to accomplish this is with the Google Sheets Addon KPIBees. The Add-on can be installed and you can connect spreadsheets to your mysql database in just a few clicks – no other setup needed! 

With the KPIBees Add-on, you can integrate MySQL with Google Sheets and bring your data into excel format in no-time! It works in a very simple way, you define your mysql queries and save them to your desired spreadsheet cells. Afterward, you can set refresh triggers that will automatically bring updated database data to your spreadsheet so you have an updated version every time you come back!

To get started, please follow the next steps:

Step 1: Install the KPIBees Gsuite Marketplace Sheets Add-on.

Step 2: Grant access to KPIBees to your Google account. Don’t worry, we’re 100% GDPR compliant!

Step 3: Access the add-on in any of your spreadsheets by going to the Add-ons toolbar.

Google Sheet Add-on location toolbar.


Step 4: Click on MySQL integration.


Select mysql integration to google sheets


Step 5: Click on the + button from the Database Connection to add a new MySQL database connection.  You can have multiple databases connected to your spreadsheet to pull data.


Add mysql database to Google Sheets


Step 6:  Add your database connection crednetials. Please use a read-only user for safety precautions. When you are done, check whether the connection is successful with the “Test connection” button.  


Add mysql credentials to database

Step 7: After you’ve added the database connection, name your query and write the SQL query that you want brought to the sheet, then click create query. The data will be pulled in your selected spreadsheet cell

Import mysql query to google sheets

Step 8: You can add as many mysql queries as you want from multiple databases and even other data sources! These queries can be edited or refreshed from the Manage Queries menu.

Add multiple mysql queries in a spreadsheet

Step 8: When you’re done with adding your mysql queries to the spreadsheet make sure you set automated refresh triggers with email or Slack notifications!

Schedule automatic refresh of mysql queries in excel

Furthermore, KPIBees supports integrations that enable you to create incredible marketing reports that include your MySQL database:  Here all the Google Sheets integrations that KPIBees supports: