Answers for "utf8mb4_0900_ai_ci unknown collation"

2

mariadb unknown collation: 'utf8mb4_0900_ai_ci'

I just opened the dump.sql file in Notepad++ and 
hit CTRL+H to find and replace the string 
"utf8mb4_0900_ai_ci" and replace with "utf8mb4_general_ci"
Posted by: Guest on October-28-2020
0

#1273 - Unknown collation: 'utf8mb4_0900_ai_ci'

find:
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
replace with:
ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
in your .sql file
Posted by: Guest on August-24-2021
1

Unknown collation: 'utf8mb4_0900_ai_ci' drupal

sed -i '' 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g' db_name.sql
Posted by: Guest on June-02-2021
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
-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 "utf8mb4_0900_ai_ci unknown collation"

Browse Popular Code Answers by Language