Start Building for Free
CircleCI.comAcademyBlogCommunitySupport
  • cimg/mysql
  • Getting Started
  • How This Image Works
  • Image Tags
  1. Convenience Images
  2. cimg/mysql

cimg/mysql

Sections

This image is designed to supersede the legacy CircleCI MySQL image, circleci/mysql.

cimg/mysql is a Docker image created by CircleCI with continuous integration builds in mind.

Getting Started

This image can be used with the CircleCI docker executor as a secondary image. For example:

1 2 3 4 5 6 7 jobs: build: docker: - image: cimg/go:1.17 - image: cimg/mysql:8.0 steps: - checkout

In the above example, the CircleCI Go Docker image is used for the primary container while the MySQL image is used as a secondary. More specifically, the tag 8.0 is used meaning the version of MySQL will be v8.0. You can now connect to a MySQL instance from the primary image within the steps for this job.

How This Image Works

This image contains the MySQL database and its complete toolchain.

Tagging Scheme

This image has the following tagging scheme:

cimg/mysql:<mysql-version>

<mysql-version> - The version of Mysql to use.

Image Tags

Developer Updates
Get tips to optimize your builds
Or join our research panel and give feedback
By submitting this form, you are agreeing to ourTerms of UseandPrivacy Policy.