To Solve Error 1273 (HY000) at line 25 Unknown collation: 'utf8mb4_0900_ai_ci' you need to change your CHARSET. And then Your error will be solved. This error Usually Occurs Cause of Older versions of MYSQL. To change CHARSET First of All Make sure you have a Backup of your SQL file and then try to change. Now Open your SQL file in any error I am Using VS Code and Find this below Line in Your SQL file: ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; And Replace the Above line with the below line: ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; Save your SQL file and then retry to Import this SQL file Now, Your error Must be solved. Thank You.