Hey all
Looking to leverage the conversion script provided at https://docs.moodle.org/28/en/Administration_via_command_line, specifically the script that converts InnoDB to Barracuda.
I run the script as follows:
php admin/cli/mysql_compressed_rows.php -f
PHP Warning: Creating default object from empty value in /var/www/moodle/config.php on line 5
Cannot enable GLOBAL innodb_file_per_table setting, use --showsql option and execute the statements manually.Default exception handler: Error writing to database Debug: Access denied; you need (at least one of) the SUPER privilege(s) for this operation
SET GLOBAL innodb_file_per_table=1
[array (
)]
Error code: dmlwriteexception
* line 446 of /lib/dml/moodle_database.php: dml_write_exception thrown
* line 974 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 140 of /admin/cli/mysql_compressed_rows.php: call to mysqli_native_moodle_database->execute()
!!! Error writing to database !!!
Any suggestions would help - I would like to make the conversion a success
Thanks