Bonsoir Jean-Gabriel et merci
j'ai demander aux technicien d'o2switch de vider mon espace pour mes deux domaines my-
cours.net et mes-classes.net, puis j'ai installé moodle 3.9 avec leurs outils softaculous,
la base de donnée est généré par cet outil, je n'ai rien importé, la seule chose que j'ai fais c'est modifier le fichier config.php pour avoir un environnement compatible (
Serveur ==> Environnement)
mon fichier config.php est :
<?php // Moodle configuration file
unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype = 'mariadb';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = nom db';
$CFG->dbuser = 'nom db';
$CFG->dbpass = 'pass';
$CFG->prefix = 'mdl2_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbport' => '',
'dbsocket' => '',
'dbcollation' => 'utf8_general_ci', que je change en "utf8mb4_unicode_ci"
);
$CFG->wwwroot = '
https://mes-classes.net';
$CFG->dataroot = '/home9/dataroot/moodledata';
$CFG->
admin = 'admin';
$CFG->directory
permissions = 0777;
require_once(__DIR__ . '/lib/setup.php');
// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!
je change l'encodage des tables de la base en "utf8mb4_unicode_ci" dans phpmyadmin de cpanel de o2switch.