Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
SHOW CREATE LINK
On this page
The SHOW CREATE LINK command shows the CREATE LINK command used to create a link.
Syntax
SHOW CREATE LINK <link_name>
Argument
link_: Name of the link.
Remarks
-
The
SHOW CREATE LINKcommand does not support links to theHTTPsources (CREATE LINK .).. . AS HTTP -
Password and other sensitive information is masked in the
SHOW CREATE LINKoutput. -
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 MYSQLCONFIG '{"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: