I am upgrading from 4.2.3 to 4.3 and received the following error:

I am unsure how to fix this. Any suggestions?
Yes, dropping all the tables is the same thing as creating a new database as far as restoring is concerned.
mdl_communication
table is present before reattempting the upgrade. If so, then your database backup already contains 4.3 tables. You could try dropping that table before reattempting the upgrade, but any other unexpected 4.3 tables may cause similar errors (because they shouldn't be there).Another Moodle 4.3 table is already present before the upgrade, this time ndlng_scorm_element
. I think this is the complete list of tables added in Moodle 4.3 that did not exist in Moodle 4.2:
$CFG->prefix
.It sounds like tables for this site were created using the default collation which can change between MySQL/MariaDB versions. Moodle's installation instructions include explicitly setting the default collation to utf8mb4_unicode_ci
so all tables have the same setting. If this has been done the Illegal mix of collations settings error cannot occur.
For production sites I don't recommend upgrading to a new major release
until the first .1 update, in this case 4.3.1 due on 11 December 2023. Unless the customer insists, of course!
If you're using SCORMs you might want to delay upgrading to Moodle 4.3 until this bug is fixed: MDL-79967 SCORM activity completion no longer possible.
We faced the ddldependencyerror
error with the database of your website due to the fact that the mdl3u_communication
table cannot be modified.
How do i rectify this, am trying to upgrade from moodle 4.4 to 4.4.2
From a quick check of the source code I can't see that Moodle should make any changes to mdl3u_communication
when upgrading from 4.4 to 4.4.2.
Enable debugging to show more details with the error message which may help us identify what's causing this.