Answers for "Unknown collation: 'utf8mb4_0900_ai_ci'"

SQL
0

Unknown collation: 'utf8mb4_0900_ai_ci'

I believe this error is caused because the local server and live server are running different versions of MySQL. To solve this:

Open the sql file in your text editor
Find and replace all utf8mb4_unicode_520_ci with utf8mb4_unicode_ci
Save and upload to a fresh mySql db
Posted by: Guest on October-05-2021
0

unknown collation: 'utf8mb4_0900_ai_ci' stackoverflow

ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
replace with
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
Posted by: Guest on September-20-2021
-1

Unknown collation: 'utf8mb4_0900_ai_ci'

search utf8mb4 change with utf8 
search utf8mb4_unicode_ci change with utf8_unicode_ci
Posted by: Guest on June-01-2021

Code answers related to "Unknown collation: 'utf8mb4_0900_ai_ci'"

Code answers related to "SQL"

Browse Popular Code Answers by Language