2017-09-17 2 views
0

Je suis confronté à une erreur lors de l'installation de moodle sur mon serveur local. L'erreur montreErreur lors de l'installation de moodle

Debug info: Table 'performance_schema.session_variables' doesn't exist 
SHOW VARIABLES LIKE 'innodb_file_per_table' 
[array (
)] 
Error code: dmlreadexception 

Trace de la pile:

line 474 of /lib/dml/moodle_database.php: dml_read_exception thrown 
line 1088 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end() 
line 1527 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql() 
line 332 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->get_record_sql() 
line 308 of /lib/ddl/mysql_sql_generator.php: call to mysqli_native_moodle_database->is_compressed_row_format_supported() 
line 542 of /lib/ddl/database_manager.php: call to mysql_sql_generator->getAddFieldSQL() 
line 74 of /mod/data/db/upgrade.php: call to database_manager->add_field() 
line 726 of /lib/upgradelib.php: call to xmldb_data_upgrade() 
line 432 of /lib/upgradelib.php: call to upgrade_plugins_modules() 
line 1742 of /lib/upgradelib.php: call to upgrade_plugins() 
line 677 of /admin/index.php: call to upgrade_noncore() 

J'utilise php 7,02, MySQL 5.7.19 et moodle 3.0.10

Répondre

0

Ouvrez votre dossier d'installation de MySQL puis allez dans le dossier bin , puis ouvrez my.ini et

Ajoutez cette ligne

show_compatibility_56=ON