Fix Illegal/Mismatched Collation Issue¶
This guide resolves collation mismatches in the InteLIS database using phpMyAdmin. It sets every table and column to the utf8mb4_general_ci collation.
On a server with CLI access, vendor/bin/db-tools collation does the same job
without phpMyAdmin. See Maintenance Scripts.
Steps¶
-
Access phpMyAdmin — Open your browser and navigate to the phpMyAdmin interface. Authenticate with your credentials.
-
Navigate to the database — Select the
vlsmdatabase from the left sidebar. -
Open Operations Tab — Click the "Operations" tab at the top of the page.
-
Locate Collation Settings — Scroll down to find the "Collation" section.
-
Configure Collation — Select
utf8mb4_general_cifrom the collation dropdown menu. -
Enable Bulk Changes:
- Check "Change all tables collations" checkbox
-
Check "Change all tables columns collations" checkbox
-
Execute Changes — Click the "Go" button to apply the collation updates.
-
Monitor Completion — Allow phpMyAdmin to process the database modifications. Completion time depends on your database size.