---
title: How to Integrate Spinify with MySQL
description: Connect your SQL databases to Spinify! Learn how to set up SQL integration to automatically sync data to your Spinify leaderboards and enhance competition tracking.
---

[Skip to content](https://knowledge.spinify.com/help/how-to-integrate-spinify-with-mysql#main-content)

English

Show submenu for translations

[Create Ticket](https://knowledge.spinify.com/help/kb-tickets/new?hsLang=en) [Customer Portal](https://knowledge.spinify.com/tickets?hsLang=en)

- [Home](https://knowledge.spinify.com/)
- [Customer Portal](https://knowledge.spinify.com/tickets?offset=0)
- [Academy](https://academy.spinify.com/trainings)
- [YouTube](https://www.youtube.com/channel/UCr89cR8jfrU7LbTBFSu2iPQ)
- [Success Stories](https://spinify.com/customer-stories/)
- [Blog](https://spinify.com/blog/)

Open main navigation

Close main navigation

- [Home](https://knowledge.spinify.com/)
- [Customer Portal](https://knowledge.spinify.com/tickets?offset=0)
- [Academy](https://academy.spinify.com/trainings)
- [YouTube](https://www.youtube.com/channel/UCr89cR8jfrU7LbTBFSu2iPQ)
- [Success Stories](https://spinify.com/customer-stories/)
- [Blog](https://spinify.com/blog/)
- English
  
  Show submenu for translations
- [Create Ticket](https://knowledge.spinify.com/help/kb-tickets/new)
- [Customer Portal](https://knowledge.spinify.com/tickets)
- [Spinify Academy](https://academy.spinify.com/trainings)

[Spinify Academy](https://academy.spinify.com/trainings)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Spinify Knowledge](https://knowledge.spinify.com/help?hsLang=en)
2. [Integrations](https://knowledge.spinify.com/help/integrations?hsLang=en)
3. [SQL](https://knowledge.spinify.com/help/integrations?hsLang=en#sql)

# How to Integrate Spinify with MySQL

After creating your Spinify Account, you can connect directly to your MySQL database with Spinify and sync changes to tables in MySQL to your leaderboards in Spinify.

### Steps to Integrate a MySQL Database

#### 1. Go to the integrations page

- Log into your **[MySpinify](https://my.spinify.com/login?hsLang=en)** account
- From the left-hand menu, click "**Settings**" then "**Integrations**"  
  ![](https://knowledge.spinify.com/hs-fs/hubfs/image-png-May-07-2026-05-11-03-9800-AM.png?width=242&height=704&name=image-png-May-07-2026-05-11-03-9800-AM.png)

#### 2. Connect MySQL with Spinify

- Choose "Connect" on the MySQL Integration
- Fill in the details on the form 
    - *Name* - Description of the query to be used when connecting to leaderboards

- - *Username*
    - *Password*
    - *Host -* Database Host (***Note:** this must be a publicly-accessible URL*)
    - *Port -* Optional port to connect to
    - *Database* - Database name to connect
    - *Query* - Select query or stored procedure to run  
      ![MySQL int](https://knowledge.spinify.com/hs-fs/hubfs/MySQL%20int.gif?width=670&height=384&name=MySQL%20int.gif)

- **Important:** *The query must return two columns named Email and Score* 
    - *Email* corresponds to your participants' email addresses and is used to identify which player the score returned by the query belongs to
    - *Score* corresponds to the participants' score that you'd like to appear on the leaderboard
- The column names must match exactly, or the data will not sync to your leaderboards.
- Click 'Activate' to save the connection.
- Spinify will then automatically query this table every 15 minutes and update the scores of any leaderboards running on this integration based on the query response.

#### Next steps

See [How to Create a Competition on SQL data](https://knowledge.spinify.com/360032236451?hsLang=en) to learn how to use data returned by your MySQL integration on a leaderboard.

- [Discover Spinify](https://knowledge.spinify.com/help/discover-spinify?hsLang=en)
- [Quick Set Up](https://knowledge.spinify.com/help/quick-set-up?hsLang=en#main-content)

    - [Competitions & Leaderboards](https://knowledge.spinify.com/help/quick-set-up?hsLang=en#competitions-leaderboards)
    - [Users](https://knowledge.spinify.com/help/quick-set-up?hsLang=en#users)
    - [Achievements](https://knowledge.spinify.com/help/quick-set-up?hsLang=en#achievements)
    - [TV & Displays](https://knowledge.spinify.com/help/quick-set-up?hsLang=en#tv-displays)
    - [Onboarding](https://knowledge.spinify.com/help/quick-set-up?hsLang=en#onboarding)
    - [Single Sign On](https://knowledge.spinify.com/help/quick-set-up?hsLang=en#single-sign-on)
- [Integrations](https://knowledge.spinify.com/help/integrations?hsLang=en#main-content)

    - [Agentbox](https://knowledge.spinify.com/help/integrations?hsLang=en#agentbox)
    - [MRI Box and Dice](https://knowledge.spinify.com/help/integrations?hsLang=en#mri-box-and-dice)
    - [Bullhorn](https://knowledge.spinify.com/help/integrations?hsLang=en#bullhorn)
    - [Zendesk](https://knowledge.spinify.com/help/integrations?hsLang=en#zendesk)
    - [PowerBI](https://knowledge.spinify.com/help/integrations?hsLang=en#powerbi)
    - [CSV Upload](https://knowledge.spinify.com/help/integrations?hsLang=en#csv-upload)
    - [HubSpot](https://knowledge.spinify.com/help/integrations?hsLang=en#hubspot)
    - [Google Sheets](https://knowledge.spinify.com/help/integrations?hsLang=en#google-sheets)
    - [Google Slides or Google Calendar](https://knowledge.spinify.com/help/integrations?hsLang=en#google-slides-or-google-calendar)
    - [Spinify API](https://knowledge.spinify.com/help/integrations?hsLang=en#spinify-api)
    - [Salesforce Reports](https://knowledge.spinify.com/help/integrations?hsLang=en#salesforce-reports)
    - [Microsoft Excel](https://knowledge.spinify.com/help/integrations?hsLang=en#microsoft-excel)
    - [Pipedrive](https://knowledge.spinify.com/help/integrations?hsLang=en#pipedrive)
    - [Salesforce Trailhead](https://knowledge.spinify.com/help/integrations?hsLang=en#salesforce-trailhead)
    - [Tableau](https://knowledge.spinify.com/help/integrations?hsLang=en#tableau)
    - [LockedOn](https://knowledge.spinify.com/help/integrations?hsLang=en#lockedon)
    - [Microsoft Teams](https://knowledge.spinify.com/help/integrations?hsLang=en#microsoft-teams)
    - [SQL](https://knowledge.spinify.com/help/integrations?hsLang=en#sql)
    - [Slack](https://knowledge.spinify.com/help/integrations?hsLang=en#slack)
    - [Microsoft Dynamics](https://knowledge.spinify.com/help/integrations?hsLang=en#microsoft-dynamics)
    - [Outreach](https://knowledge.spinify.com/help/integrations?hsLang=en#outreach)
    - [Rex Software](https://knowledge.spinify.com/help/integrations?hsLang=en#rex-software)
    - [JobAdder](https://knowledge.spinify.com/help/integrations?hsLang=en#jobadder)
    - [Salesforce](https://knowledge.spinify.com/help/integrations?hsLang=en#salesforce)
    - [Follow Up Boss](https://knowledge.spinify.com/help/integrations?hsLang=en#follow-up-boss)
    - [Zapier](https://knowledge.spinify.com/help/integrations?hsLang=en#zapier)
    - [CloudCall](https://knowledge.spinify.com/help/integrations?hsLang=en#cloudcall)
    - [Freshdesk](https://knowledge.spinify.com/help/integrations?hsLang=en#freshdesk)
    - [MRI Vault CRM](https://knowledge.spinify.com/help/integrations?hsLang=en#mri-vault-crm)
    - [Webhooks](https://knowledge.spinify.com/help/integrations?hsLang=en#webhooks)
    - [FTP](https://knowledge.spinify.com/help/integrations?hsLang=en#ftp)
    - [GetAccept](https://knowledge.spinify.com/help/integrations?hsLang=en#getaccept)
    - [Close CRM](https://knowledge.spinify.com/help/integrations?hsLang=en#close-crm)
    - [HighLevel](https://knowledge.spinify.com/help/integrations?hsLang=en#highlevel)
    - [Aircall](https://knowledge.spinify.com/help/integrations?hsLang=en#aircall)
    - [Kixie](https://knowledge.spinify.com/help/integrations?hsLang=en#kixie)
    - [LeadDesk](https://knowledge.spinify.com/help/integrations?hsLang=en#leaddesk)
    - [Zoho](https://knowledge.spinify.com/help/integrations?hsLang=en#zoho)
- [Incentives](https://knowledge.spinify.com/help/incentives?hsLang=en#main-content)

    - [Reward Store](https://knowledge.spinify.com/help/incentives?hsLang=en#reward-store)
    - [Points, Badges & Tiers](https://knowledge.spinify.com/help/incentives?hsLang=en#points-badges-tiers)
    - [Prize Wheels](https://knowledge.spinify.com/help/incentives?hsLang=en#prize-wheels)
- [FAQs](https://knowledge.spinify.com/help/faqs?hsLang=en#main-content)

    - [Competitions](https://knowledge.spinify.com/help/faqs?hsLang=en#competitions)
    - [Account](https://knowledge.spinify.com/help/faqs?hsLang=en#account)
    - [TV & Channels](https://knowledge.spinify.com/help/faqs?hsLang=en#tv-channels)
    - [Spinify](https://knowledge.spinify.com/help/faqs?hsLang=en#spinify)
    - [Troubleshooting](https://knowledge.spinify.com/help/faqs?hsLang=en#troubleshooting)
    - [Sidekick](https://knowledge.spinify.com/help/faqs?hsLang=en#sidekick)
    - [Achievement](https://knowledge.spinify.com/help/faqs?hsLang=en#achievement)
- [Manager Toolkit](https://knowledge.spinify.com/help/manager-toolkit?hsLang=en#main-content)

    - [AI Coaching Agent](https://knowledge.spinify.com/help/manager-toolkit?hsLang=en#ai-coaching-agent)
    - [Analytics](https://knowledge.spinify.com/help/manager-toolkit?hsLang=en#analytics)
    - [Messages & Announcements](https://knowledge.spinify.com/help/manager-toolkit?hsLang=en#messages-announcements)
    - [Coaching Tools](https://knowledge.spinify.com/help/manager-toolkit?hsLang=en#coaching-tools)
- [Administration & Accounts](https://knowledge.spinify.com/help/administration-accounts?hsLang=en#main-content)

    - [Billing](https://knowledge.spinify.com/help/administration-accounts?hsLang=en#billing)
    - [Privacy & Terms](https://knowledge.spinify.com/help/administration-accounts?hsLang=en#privacy-terms)
- [Players Zone](https://knowledge.spinify.com/help/players-zone?hsLang=en)
- [Apps & Extensions](https://knowledge.spinify.com/help/apps-extensions?hsLang=en#main-content)

    - [Chrome Extension](https://knowledge.spinify.com/help/apps-extensions?hsLang=en#chrome-extension)
    - [Mobile App](https://knowledge.spinify.com/help/apps-extensions?hsLang=en#mobile-app)
    - [Spinify MCP](https://knowledge.spinify.com/help/apps-extensions?hsLang=en#spinify-mcp)

[![download (2)](https://knowledge.spinify.com/hs-fs/hubfs/download%20(2).png?width=150&height=150&name=download%20(2).png "download (2)")](https://Spinify.com)

#1 Ranked Sales Gamification Software

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2024, Spinify