MySQL / MariaDB
Connect to a MySQL database and set up a workspace.
Last updated
Connect to a MySQL database and set up a workspace.
Last updated
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?
Launch Syntho and select Connect to a database, or under Create workspace, select MySQL / MariaDB. For a complete list of data connections, select More under To a Server. Then do the following:
Enter the name of the server that hosts the database.
Enter the database name to connect to the contained database.
Enter the port number.
Leave the protocol as-is. Only in very specific circumstances you may want to change this.
Enter the user name and password.
Select the Require SSL option when connecting to an SSL server.
Select Create workspace. 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.
Columns with the data type SET are not supported.
Our MySQL and MariaDB connector, utilizing SQLAlchemy, presents certain limitations that may impact your operations:
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.
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.
INTEGER
☑️
☑️
TINYINT
☑️
☑️
SMALLINT
☑️
☑️
MEDIUMINT
☑️
☑️
BIGINT
☑️
☑️
FLOAT
☑️
☑️
DOUBLE
☑️
☑️
DOUBLE PRECISION
☑️
☑️
DECIMAL
☑️
☑️
CHAR
☑️
☑️
VARCHAR
☑️
☑️
TEXT
☑️
☑️
LONGTEXT
☑️
☑️
TINYTEXT
☑️
☑️
MEDIUMTEXT
☑️
☑️
BINARY
☐️
☑️
VARBINARY
☐️
☑️
BLOB
☐️
☑️
TINYBLOB
☐️
☑️
MEDIUMBLOB
☐️
☑️
LONGBLOB
☐️
☑️
DATE
☑️
☑️
TIME
☑️
☑️
DATETIME
☑️
☑️
TIMESTAMP
☑️
☑️
YEAR
☑️
☑️
BIT
☑️
☑️
JSON
☐️
☑️
ENUM
☑️
☑️
SET
☑️
☑️
BOOL
☑️
☑️
BOOLEAN
☑️
☑️
POINT
☐️
☑️
GEOMETRY
☐️
☑️
LINESTRING
☐️
☑️
POLYGON
☐️
☑️
MULTIPOINT
☐️
☑️
MULTILINESTRING
☐️
☑️
MULTIPOLYGON
☐️
☑️
GEOMETRYCOLLECTION
☐️
☑️