Change UTF8 to utf8mb4 to properly support utf8 in mysql

This commit is contained in:
osaajani 2021-12-29 02:54:21 +01:00
parent fadffdab10
commit bd3da73711
6 changed files with 14 additions and 14 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);
}
public function on_stop()