Skip to content

Create a database

The MySQL create command can be used for creating new database images for a project's environment.

The following command will pull all the databases which are used for the dev environment.

Once complete, you can pull the new image on to your local machine and use it in development environments, or simply let your CI pipelines take care of the rest.

Usage

$ skpr mysql create dev
Creating new mysql image for dev

More Information

$ skpr mysql create --help
usage: skpr mysql create <environment>

Creates a new database image for an environment.

Flags:
  --help  Show context-sensitive help (also try --help-long and --help-man).

Args:
  <environment>  Name of the environment.

What's next?

  • Database configuration documentation
Back to top