When I query a dateTime(6) PHP is truncating my 6 fractional seconds.
Here is an example of my php code:
$sql = \'SELECT date FROM tbl\'; $
It's crazy this still isn't officially supported by mysqli in PHP 7.1, but anyway, here's a work around.
mysqli
select concat(`DateTime6`)`DateTime6` from ...
Basically casting it as a string worked for me, as ugly as that is.