Installing Snowsql
Installing SnowSQL on Linux Using the RPM Package
Downloading the SnowSQL RPM Package
https://developers.snowflake.com/snowsql/ - Download url.
-
Open a new terminal window.
Get the account name from your snowflake login url`example: https://wca45935.us-east-1.snowflakecomputing.com/`- Execute the following command to test your connection:
snowsql -a <account_name> -u <login_name>Enter your password when prompted. Enter !quit to quit the connection.
-
Add your connection information to the Config File
file-Location~/.snowsql/configaccountname = <account_name>username = <login_name>password = <password> -
Execute the following command to connect to Snowflake:
snowsql