Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

SHOW CREATE LINK

The SHOW CREATE LINK command shows the CREATE LINK command used to create a link.

Syntax

SHOW CREATE LINK <link_name>

Argument

link_name: Name of the link.

Remarks

  • The SHOW CREATE LINK command does not support links to the HTTP sources (CREATE LINK ... AS HTTP).

  • Password and other sensitive information is masked in the SHOW CREATE LINK output.

  • Refer to Permissions Matrix for the permissions required to run this command.

Example

The following example shows that sensitive information is hidden from the output:

CREATE LINK pLink AS MYSQL
CONFIG '{
"database.hostname": "svchost",
"database.exclude.list": "dbTest",
"database.port": 3306,
"database.ssl.mode":"required"}'
CREDENTIALS '{
"database.password": "pa55w0rd",
"database.user": "s2user"}';
SHOW CREATE LINK pLink \G
  Link Name: pLink
Create Link: CREATE LINK `pLink` AS MYSQL
CONFIG "{\n  \"database.hostname\": \"svchost\", \n
\"database.exclude.list\": \"dbTest\", \n
\"database.port\": 3306, \n
\"database.ssl.mode\":\"required\"}"
CREDENTIALS <CREDENTIALS REDACTED>

The output is formatted for readability.

Last modified:

Was this article helpful?