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.


$ skpr mysql image create dev
Creating new mysql image for dev

More Information

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

Creates a new database image for an environment.

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

  <environment>  Name of the environment.

What's next?

  • Database configuration documentation