Skip to content

Does SNOWSQL_ACCOUNT override target uris in sqitch.conf? #766

Closed Answered by peter-wimsey
peter-wimsey asked this question in Q&A
Discussion options

You must be logged in to vote

To answer my own question: The account part of the target uri cannot be overridden. As is explained in the docs:

Sqitch looks for the account code in this order:

  1. In the host name of the target URI.
  2. In the $SNOWSQL_ACCOUNT environment variable.
  3. In the connections.accountname setting in the SnowSQL configuration file.

https://metacpan.org/pod/App::Sqitch::Engine::snowflake

The username from the target uri can however be overridden with SQITCH_USERNAME.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by theory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant