gcloud alpha database-migration connection-profiles create - create Database Migration Service connection profiles
gcloud alpha database-migration connection-profiles create COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Commands for creating Database Migration Service connection profiles.
Create a source connection profile with the mysql or postgresql commands.
Create a destination connection profile for a Cloud SQL instance with the cloudsql command. For Cloud SQL instance as a source, use the create command for the relevant engine type (e.g. mysql).
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- cloudsql
(ALPHA) Create a Database Migration Service connection profile for Cloud SQL.
- mysql
(ALPHA) Create a Database Migration Service connection profile for MySQL.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:
$ gcloud database-migration connection-profiles create