[RDBMS] Add flexible-server connect command - #15419
Merged
Merged
Conversation
Yong Zhang (yonzhan)
requested review from
Zunli Hu (Juliehzl),
Yu Chen (jsntcy) and
Xing Zhou (zhoxing-ms)
October 7, 2020 01:44
Collaborator
|
RDBMS |
arde0708
suggested changes
Oct 7, 2020
Yong Zhang (yonzhan)
requested review from
Xiaojian Xu (arrownj) and
Jiashuo Li (jiasli)
October 7, 2020 21:25
Contributor
Author
|
/azp run |
|
Commenter does not have sufficient privileges for PR 15419 in repo Azure/azure-cli |
arde0708
approved these changes
Oct 20, 2020
Contributor
|
Mollee Jain (@mjain2) please resolve conflicts |
Zunli Hu (Juliehzl)
approved these changes
Oct 22, 2020
Contributor
Author
Sorry for delay, saw this message earlier. Merged and reran tests and checks to confirm everything looks ok. |
Contributor
|
Hi Feng Zhou (@fengzhou-msft) , could you help with package issue in darwin? |
Contributor
Author
|
Zunli Hu (@Juliehzl) your latest commit seemed to have fixed the darwin error. The other error was for test-extensions which lost network connectivity, so retrying once more. Feng Zhou (@fengzhou-msft) for awareness. |
Yong Zhang (yonzhan)
pushed a commit
that referenced
this pull request
Oct 23, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adding flexible-server connect command. This allows customer to validate a connection to the database and optionally run a query against the database using the passed in username and password to connect. If database name is not provided the default db is used. Server name is pulled from local-context if applicable.
Testing Guide
az postgres flexible-server connect -n moljain-testserver -u mjuser -p Experiment123 -c "select * from pg_user;" --output table
az mysql flexible-server connect -n moljain-testserver2 -u mjuser -p Experiment123 -c "select host, user from mysql.user;" --output table
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.