LogoLogo
Go to Syntho.AI
English
English
  • Welcome to Syntho
  • Overview
    • Get started
      • Syntho bootcamp
        • 1. What is Syntho?
        • 2. Introduction data anonymization
        • 3. Connectors & workspace creation
        • 4. PII scan
        • 5. Generators
          • Mockers
          • Maskers
          • AI synthesize
          • Calculated columns
          • Free text de-identification
        • 6. Referential integrity & foreign keys
        • 7. Workspace synchronization & validation
        • 8. Workspace & user management
        • 9. Large workloads​
        • 10. Data pre-processing
        • 11. Continuous Success
      • Prerequisites
      • Sample datasets
      • Introduction to data generators
    • Frequently asked questions
  • Setup Workspaces
    • View workspaces
    • Create a workspace
      • Connect to a database
        • PostgreSQL
        • MySQL / MariaDB
        • Oracle
        • Microsoft SQL Server
        • DB2
        • Databricks
          • Importing Data into Databricks
        • Hive
        • SAP Sybase
        • Azure Data Lake Storage (ADLS)
        • Amazon Simple Storage Service (S3)
      • Workspace modes
    • Edit a workspace
    • Duplicate a workspace
    • Transfer workspace ownership
    • Share a workspace
    • Delete a workspace
    • Workspace default settings
  • Configure a Data Generation Job
    • Configure table settings
    • Configure column settings
      • AI synthesize
        • Sequence model
          • Prepare your sequence data
        • QA report
        • Additional privacy controls
        • Cross-table relationships limitations
      • Mockers
        • Text
          • Supported languages
        • Numeric (integer)
        • Numeric (decimal)
        • Datetime
        • Other
      • Mask
        • Text
        • Numeric (integer)
        • Numeric (decimal)
        • Datetime
        • UUID
      • Duplicate
      • Exclude
      • Consistent mapping
      • Calculated columns
      • Key generators
        • Differences between key generators
      • JSON de-identification
    • Manage personally identifiable information (PII)
      • Privacy dashboard
      • Discover and de-identify PII columns
        • Identify PII columns manually
        • Automatic PII discovery with PII scanner
      • Remove columns from PII list
      • Automatic PII discovery and de-identification in free text columns
      • Supported PII & PHI entities
    • Manage foreign keys
      • Foreign key inheritance
      • Add virtual foreign keys
        • Add virtual foreign keys
        • Use foreign key scanner
        • Import foreign keys via JSON
        • Export foreign keys via JSON
      • Delete foreign keys
    • Validate and Synchronize workspace
    • View and adjust generation settings
  • Deploy Syntho
    • Introduction
      • Syntho architecture
      • Requirements
        • Requirements for Docker deployments
        • Requirements for Kubernetes deployments
      • Access Docker images
        • Online
        • Offline
    • Deploy Syntho using Docker
      • Preparations
      • Deploy using Docker Compose
      • Run the application
      • Manually saving logs
      • Updating the application
    • Deploy Syntho using Kubernetes
      • Preparations
      • Deploy Ray using Helm
        • Upgrading Ray CRDs
        • Troubleshooting
      • Deploy Syntho using Helm
      • Validate the deployment
      • Troubleshooting
      • Saving logs
      • Upgrading the applications
    • Manage users and access
      • Single Sign-On (SSO) in Azure
      • Manage admin users
      • Manage non-admin users
    • Logs and monitoring
      • Does Syntho collect any data?
      • Temporary data storage by application
  • Syntho API
    • Syntho REST API
Powered by GitBook
On this page
  • Before you begin
  • Connect and set up the workspace
  • Limitations
  • Connector Limitations for MySQL / MariaDB

Was this helpful?

  1. Setup Workspaces
  2. Create a workspace
  3. Connect to a database

MySQL / MariaDB

Connect to a MySQL database and set up a workspace.

PreviousPostgreSQLNextOracle

Last updated 8 days ago

Was this helpful?

Before you begin

Before you begin, gather this connection information:

  • Name of the server that hosts the database you want to connect to and port number

  • User name and password

  • Are you connecting to an SSL server?

Connect and set up the workspace

Launch Syntho and select Connect to a database, or Create workspace. Then select MySQL / MariaDB from Type under The connection details. For a complete list of data connections, click Type under The connection details. Then do the following:

  1. Enter the name of the server that hosts the database that you want to connect to.

  2. Enter the database name to connect to the contained database.

  3. Enter the port number.

  4. Leave the protocol as-is. Only in very specific circumstances you may want to change this.

  5. Enter user name and password.

    Select the Require SSL check box when connecting to an SSL server.

  6. Select Next. If Syntho can't make the connection, verify that your credentials are correct. If you still can't connect, your computer is having trouble locating the server. Contact your network administrator or database administrator.

Limitations

  • Columns with the data type SET are not supported.

Connector Limitations for MySQL / MariaDB

Our MySQL and MariaDB connector, utilizing SQLAlchemy, presents certain limitations that may impact your operations:

Known issues

  • Backtick characters in names: While MySQL supports the use of backtick characters (`) in table and column names by escaping them, SQLAlchemy fails to escape these characters correctly. This can result in mismatches during table and column referencing in read or write operations.

  • Empty SET data type: MySQL allows defining columns with an empty SET definition (SET('')). However, SQLAlchemy does not support this edge case, which may lead to issues when working with SET data types.

Supported data types

The table below outlines the support for various data types in terms of generator type, and if any additional processing is performed by Syntho to successfully generate and write the data.

Data Type
AI-powered Generation
Mockers
Mask
Calculated Columns

INTEGER

TINYINT

SMALLINT

MEDIUMINT

BIGINT

FLOAT

DOUBLE

DOUBLE PRECISION

DECIMAL

CHAR

VARCHAR

TEXT

LONGTEXT

TINYTEXT

MEDIUMTEXT

BINARY

False

False

False

False

VARBINARY

False

False

False

False

BLOB

False

False

False

False

TINYBLOB

False

False

False

False

MEDIUMBLOB

False

False

False

False

LONGBLOB

False

False

False

False

DATE

False

TIME

False

DATETIME

False

TIMESTAMP

False

YEAR

False

BIT

JSON

False

False

False

ENUM

False

False

False

False

SET

False

False

False

False

BOOL

BOOLEAN

POINT

False

True*

True*

True*

GEOMETRY

False

True*

True*

True*

LINESTRING

False

True*

True*

True*

POLYGON

False

True*

True*

True*

MULTIPOINT

False

True*

True*

True*

MULTILINESTRING

False

True*

True*

True*

MULTIPOLYGON

False

True*

True*

True*

GEOMETRYCOLLECTION

False

True*

True*

True*

*Some data types are not actively supported; however, certain generators such as AI synthesize, mask, mockers, or calculated columns may still show 'True' for these fields. This means the generators can be applied, even though the types are not actively supported. Duplication is fully supported for these data types.

True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
True
Source and Destination Databases