Index: branches/5.2.x/core/install.php =================================================================== diff -u -r16813 -r16819 --- branches/5.2.x/core/install.php (.../install.php) (revision 16813) +++ branches/5.2.x/core/install.php (.../install.php) (revision 16819) @@ -1,6 +1,6 @@ CheckDatabase(($this->currentStep == 'db_config') && !$this->GetVar('UseExistingSetup')); + + if ( $status ) { + $db_collation = $this->toolkit->systemConfig->get('DBCollation', 'Database'); + $sql = 'SHOW COLLATION LIKE ' . $this->Conn->qstr($db_collation); + $db_collation_data = $this->Conn->Query($sql); + + if ( !is_array($db_collation_data) || !$db_collation_data ) { + $status = false; + $this->errorMessage = 'Chosen database collation isn\'t compatible with used MySQL Server version'; + } + } break; case 'select_license':