Buenas estoy haciendo una instalación limpia en linux de moodle, ya había hecho instalaciones en el pasado y nunca me ha presentado el siguiente error:
Error del script SQL que da error: https://pastebin.com/4TmwUpAC
Apache log: https://pastebin.com/R9QA7Kt5
Trazado de la pila (stack):
- line 492 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
- line 1098 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 77 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
- line 427 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
- line 372 of /lib/ddl/database_manager.php: call to database_manager->install_from_xmldb_structure()
- line 830 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
- line 565 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1917 of /lib/upgradelib.php: call to upgrade_plugins()
- line 713 of /admin/index.php: call to upgrade_noncore()
Configuración del webserver:
Apache: 2.4.43
Php: 7.4.6
MariaDB: 10.4.14
Moodle: 3.9.1+
Según esta página https://docs.moodle.org/all/es/error/moodle/ddlexecuteerror, el usuario de la DB debe tener los permisos de CREATE TEMPORARY TABLE, pero el usuario tiene todos los permisos para modificar dicha tabla