Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next


D toc

Excerpt

You can create connections to one or

...

more 

D s conntype
typemysql
 databases

...

from 

D s product
rtrue
. For more information on MySQL, see https://www.mysql.com/.


If you are connecting

D s product
to any relational source of data, such as Redshift or Oracle, you must add the
D s item
itemService
to your whitelist for those resources.

...


  • Read: Supported
  • Write: Supported


Configure

To create this connection:

...

PropertyDescription
Host
Enter your fully qualified hostname. Example:

 

Code Block
mysql-server.example.net
PortSet this value to 3306.
Connect String Options

Insert any additional connection parameters, if needed. See below.

User NameUsername to use to connect to the database.
PasswordPassword associated with the above username.
Test ConnectionAfter you have defined the connection credentials type, credentials, and connection string, you can validate those credentials.
Default Column Data Type Inference

Set to disabled to prevent the platform from applying its own type inference to each column on import. The default value is enabled.

Connection NameDisplay name of the connection
Connection DescriptionDescription of the connection, which appears in the application.

...

Connection URL

The properties that you provide are inserted into the following URL, which connects 

D s product
 to the connection:

...

Create via API

This connection can also be created using the API. 

  • Type: jdbc
  • Vendor: mysql

For more information, see 

D s api refdoclink
#operation/createConnection

Troubleshooting

Error messageDescription
1042 - ER_BAD_HOST_ERROR

Unable to connect to host. Please verify the host and port values.

1045 - ER_ACCESS_DENIED_ERROR

Credentials failed to connect. Please verify your credentials.

Tip

Tip: Click the Test Connection button to verify that your credentials are working properly.

Error: zero date value prohibited

Set the following option in the connect string options:

Code Block
zeroDateTimeBehavior=convertToNull

...