by rob davis.
thanks for advice. I had a look at moving from 1and1 and at the moment that is not going to possible.
What I did do is create a new database on the same hosting and restore the DB. Then I got Moodle 3.5.4 (did not realise 3.4 was so long in the tooth) copied the config.php and updated the user and path information.
Got the upgrade process and got the issue.
![screen shot of error]()
Then I ran the mysql_compressed_rows.php and was surprised to see only 9 results.
isef_block_exacompexamples Compact (needs fixing)
isef_data Compact (needs fixing)
isef_data_fields Compact (needs fixing)
isef_enrol_lti_lti2_consumer Compact (needs fixing)
isef_enrol_paypal Compact (needs fixing)
isef_lti Compact (needs fixing)
isef_oauth2_issuer Compact (needs fixing)
isef_user Compact (needs fixing)
isef_user_info_field Compact (needs fixing)
mysql_compressed_rows.php --fix
gave an error
Cannot change GLOBAL innodb_file_format setting, use --showsql option and execute the statements manually.!!! Error writing to database !!!
so I ran with --showsql and got
USE mydb;
SET SESSION sql_mode=STRICT_ALL_TABLES;
SET GLOBAL innodb_file_per_table=1;
SET GLOBAL innodb_file_format=Barracuda;
ALTER TABLE isef_block_exacompexamples ROW_FORMAT=Compressed;
ALTER TABLE isef_data ROW_FORMAT=Compressed;
ALTER TABLE isef_data_fields ROW_FORMAT=Compressed;
ALTER TABLE isef_enrol_lti_lti2_consumer ROW_FORMAT=Compressed;
ALTER TABLE isef_enrol_paypal ROW_FORMAT=Compressed;
ALTER TABLE isef_lti ROW_FORMAT=Compressed;
ALTER TABLE isef_oauth2_issuer ROW_FORMAT=Compressed;
ALTER TABLE isef_user ROW_FORMAT=Compressed;
ALTER TABLE isef_user_info_field ROW_FORMAT=Compressed;
and running that in phpmyadmin SQL got
SQL query:
SET GLOBAL innodb_file_per_table=1
MySQL said: ![Documentation Documentation]()
#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation
I have now passed those SQL statements to 1and1 support, not sure if they can action them or not.