Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
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: