I have a connection using PDO that arrow SET NAMES UTF8
:
$options = [ PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES UTF8" ];
But I would like to add SET time_zone='America/Sao_Paulo'
.But of all the ways I tried it I return an Exception!