Illegal mix of collations
This error occurs when columns compared in the same query use different collations. The fix is to make the related columns use the same collation.
QB / QBOX users
QB and QBOX servers use the players.citizenid column.
What to do
Change the collation of the citizenid column in the players table.
Target collation:
utf8mb4_unicode_ciSQL
ALTER TABLE players
MODIFY citizenid VARCHAR(11)
CHARACTER SET utf8mb4
COLLATE utf8mb4_unicode_ci;
ESX users
ESX servers use the users.identifier column.
What to do
Change the collation of the identifier column in the users table.
Target collation:
SQL

Notes
You can also change the collation manually via HeidiSQL or phpMyAdmin.
A server restart is recommended after applying the change.
No script changes are required.
Example error logs
Last updated