We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently with civo database credentials we have this:
civo database credentials
-c, --connection-string show the connection string for the database
Which outputs this
postgresql://civo:[email protected]:5432
This isn't bad, but we can do better.
We need a flag to give a full connection command for the DB so the user can just copy and paste that.
civo database credentials --cmd
(flag could be something else if the implementor has better ideas)
psql "postgresql://[db-user]:[db-password]@[db-ip]:[dp-port]/postgres?sslmode=require"
mysql --ssl-mode=REQUIRED --host=[managed-db-ip] --port=[db-port] --user=[db-user] --password='[db-password]'
Please not that for the password in the mysql command it needs to have the single quotes because it occasionally uses characters like #
#
Additionally when the user uses the command on its own like so:
civo database credentials db-name
Add the command to one of the columns
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Currently with
civo database credentials
we have this:Which outputs this
This isn't bad, but we can do better.
We need a flag to give a full connection command for the DB so the user can just copy and paste that.
Acceptance Criteria
(flag could be something else if the implementor has better ideas)
Please not that for the password in the mysql command it needs to have the single quotes because it occasionally uses characters like
#
Additionally when the user uses the command on its own like so:
Add the command to one of the columns
The text was updated successfully, but these errors were encountered: