Part 1
- delete the /system/config.php file
- open the /core/install.php in the Web Browser
- perform clean install
- on the Database Configuration step:
- select Database Collation that doesn't match your MySQL Server version
- attempt to proceed to the next installation step
- confirm, that a validation error appeared
- select Database Collation that does match your MySQL Server version
- attempt to proceed to the next installation step
- confirm, that no validation error appeared and both DBCharset and DBCollation keys of the /system/config.php are non-empty
Part 2
- open the /core/install.php in the Web Browser
- select Update Database Configuration option and proceed to the next step
- on the Update Database Configuration step:
- select Database Collation that doesn't match your MySQL Server version
- attempt to proceed to the next installation step
- confirm, that a validation error appeared
- select Database Collation that does match your MySQL Server version
- attempt to proceed to the next installation step
- confirm, that no validation error appeared and both DBCharset and DBCollation keys of the /system/config.php are non-empty