smartapps-fr / bitbucket-pipelines-debian-8

Bitbucket Pipelines Docker image based on Debian 8 (Jessie) with PHP/MySQL (and more !)

Home Page:https://hub.docker.com/r/smartapps/bitbucket-pipelines-php-mysql/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utf8mb4 collation support

MBoretto opened this issue · comments

Hello!
I would like to test your container but I found out that pdo driver is not installed. I possible to add it?
Thanks
Marco

php5-mysqlnd Debian package already includes pdo_mysql PHP module. Do you need something else ?

Sorry didn't know this. Is possible to have a version of mysql greater than 5.5 in order to support utf8mb4 collation? thanks

This image is based on Debian stable (Jessie as of 11/2016), MySQL server included is 5.5. But MySQL 5.5 fully support utf8mb4 collation, I use it myself.

I got this error:

PDOException: SQLSTATE[HY000]: General error: 1273 Unknown collation: 'utf8mb4_unicode_520_ci'

Maybe collation 520 is not supported in this version?
Has Debian switched from MySQL to MariaDB?

SHOW COLLATION;show all collations, utf8mb4_unicode_520_ci is not available, I personally use utf8mb4_unicode_ci . Debian Jessie has both MySQL 5.5 and MariaDB 10.0.

If you are interested, I can start a branch with Debian Stretch (Testing), PHP 7 and MySQL 5.6.

Thanks but I built my own one that reflect the production environment (alpine 3.4): https://hub.docker.com/r/mboretto/bitbucket-pipelines-php-mysql/

Someone has already fork your repo to let it work with mysql5.6
Thanks for the hints!