title: "VALIDATE CONNECTION"
description: "VALIDATE CONNECTION
validates the connection and authentication parameters provided in a CREATE CONNECTION
statement against the target external system"
pagerank: 40
menu:
main:
parent: 'commands'
VALIDATE CONNECTION
validates the connection and authentication parameters
provided in a CREATE CONNECTION
statement against the target external
system.
VALIDATE CONNECTION <connection_name>;
Upon executing the VALIDATE CONNECTION
command, Materialize initiates a
connection to the target external system and attempts to authenticate in the
same way as if the connection were used in a CREATE SOURCE
or CREATE SINK
statement. A successful connection and authentication attempt returns
successfully with no rows. If an issue is encountered, the command will return
a validation error.
The privileges required to execute this statement are:
{{< include-md file="shared-content/sql-command-privileges/validate-connection.md" >}}