SyncStudio
Documentation menu

Connect MariaDB

How to connect MariaDB to SyncStudio, what to enter, and what you can import into Google Sheets™.

  • Database
  • Credentials
  • Choose table
  • SQL
  • Write-back
  • Connection links

Before you start

  • Open a spreadsheet in Google Sheets and start SyncStudio from Extensions → SyncStudio → Open SyncStudio. The first-import guide covers installing it.
  • Use credentials made for reading only: a read-only database user, or an API key with read scopes. SyncStudio never needs to change anything in MariaDB to import from it.
  • Queries run read-only with a 5-minute limit, over TLS. Use a read-only user, ideally on a replica.

Connect it

  1. Add the source In the sidebar, press Add a source and choose MariaDB. You can type its name in the search box.
  2. Fill in the form The form asks for:
    FieldWhat to enter
    HostFor example db.example.com.
    Port (optional)For example 3306.
    DatabaseAs MariaDB shows it.
    UserUse a read-only user.
    Password · kept secretAs MariaDB shows it.
    Certificate (optional)Verify works as it is for providers whose certificate is publicly trusted, as Neon, Supabase, PlanetScale and Azure SQL are. For Amazon RDS or a self-signed certificate, paste the CA certificate below. Encrypt only leaves the connection open to an impostor server, and is recorded in the audit log. One of: Encrypt and verify the server's certificate, Encrypt only (the certificate is not checked).
    CA certificate (optional)Only needed to verify a server whose certificate is not publicly trusted: the provider's CA bundle in PEM form, for example Amazon RDS's global bundle. For example -----BEGIN CERTIFICATE-----.
    Client (optional)If you work for several clients: a label to filter imports by.
    User for write-back (optional)Only for write-back: imports, previews and AI drafts keep using the read-only user above.
    Password for write-back (optional) · kept secretAs MariaDB shows it.
  3. Test and save Give the connection a name your team will recognise. SyncStudio tests it before saving it; if the test fails, the message says what MariaDB answered.
  4. Or send a link If someone else holds the credentials, press Send this link to whoever has the details. The link works once, for 7 days, and shows them only this form.

Credentials are encrypted before they are stored, and no part of SyncStudio shows them again. To change them, edit the connection and enter them anew. See Connecting a source.

What you can import

Choose a table, the fields you want, and filters. The list comes from MariaDB itself once the connection is made.

Or write one SELECT statement. It runs read-only, and a preview shows the first rows before anything is written. See Choosing the data.

Rows edited in a tab can be written back to MariaDB, after you review every change. See Writing back.

Next steps