> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# cimg/mariadb

A MariaDB Docker image built to run on CircleCI.

***This image is designed to supersede the legacy CircleCI MariaDB image, `circleci/mariadb`.***

`cimg/mariadb` 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:

```yaml
jobs:
  build:
    docker:
      - image: cimg/go:1.17
      - image: cimg/mariadb:10.6
    steps:
      - checkout
```

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


## How This Image Works

This image contains the MariaDB database and its complete toolchain.

### Tagging Scheme

This image has the following tagging scheme:

```
cimg/mariadb:<mariadb-version>
```

`<mariadb-version>` - The version of Mysql to use.

## Image Tags