MySQL

Configure MySQL with Zing

MySQL is one of the most widely used databases in the world, and its free! Everybody from developers writing their first line of code, to data scientists, to major corporations use PostgresSQL to store and query data.

You can connect Zing to your MySQL database from either the Zing web console, the Zing web app, the iOS app, or Android.

You’ll need:

  • Hostname which is the URL or IP address of your database
  • Port which is the port that your database is live on – typically 3306 by default for mySQL, but your port may differ
  • Database Name which is the name on your hostname IP / URL you database is referenced by
  • Username which is…your username. Best practice is to create a read only user
  • Password which is…your password. Once you enter this, Zing will automatically encrypt this.

Web Console

Add a MySQL database from the web:

  1. Go to your Zing Data Web Console and ensure you are logged in

  2. Tap the ‘data sources’ tab

  3. Enter your mySQL credentials, as outlined above. If your database requires SSL to be enabled, turn on ‘Require SSL’ (not all Postgres configurations require this).

  4. Tap ‘Save’

  5. The data source you just added will be available to everybody in your organization.

App

To add a MySQL database from your phone or the Zing web app:

  1. Go to the sources tab

  2. Tap ‘Add a new data source’

  3. Enter your database credentials

  4. Tap ‘Confirm data source’

  5. Zing will verify that it can connect to your data source and if successful, add it as a source. If Zing cannot connect to your data source, you'll see a message asking your to check your credentials and retry. If even after checking your credentials and retrying you still experience issues, reach out to Zing support here