Skip to content


MySQL is supported by continuousphp. It uses the official MySQL Docker images.


MySQL containers are available for each activity in your build. To enable one of them, simply add the environment variable CPHP_SERVICE_MYSQL with the desired MySQL version as value to your pipeline configuration. Available versions are :

  • 8.0.3
  • 5.7.20
  • 5.6.38
  • 5.5.58

E.g. if you need MySQL 5.7.20 in your Behat tests, go to the Testing Settings (step 2 of the Pipeline) and add the environment variable CPHP_SERVICE_MYSQL = 5.7.20 to the Behat configuration.

PHP Extensions

Our containers implement the following PHP extensions for MySQL :

  • mysql
  • mysqli
  • mysqlnd
  • pdo_mysql

Connecting to MySQL