replace utf8 by utf8mb4 to really manage utf8 in mysql db

This commit is contained in:
emnbdx 2021-12-29 02:15:49 +01:00
parent b5d1483048
commit 6f8b4c5a19
5 changed files with 13 additions and 13 deletions

View file

@ -94,7 +94,7 @@ class Sender extends AbstractDaemon
public function on_start()
{
$this->logger->info('Starting Sender with pid ' . getmypid());
$this->bdd = \descartes\Model::_connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD, 'UTF8');
$this->bdd = \descartes\Model::_connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD, 'utf8mb4');
}
public function on_stop()