mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
replace utf8 by utf8mb4 to really manage utf8 in mysql db
This commit is contained in:
parent
b5d1483048
commit
6f8b4c5a19
5 changed files with 13 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue