#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’

前端 未结 12 1219
孤街浪徒
孤街浪徒 2020-11-30 16:27

I have a WordPress website on my local WAMP server. But when I upload its database to live server, I get error

#1273 – Unknown collation: ‘         


        
12条回答
  •  情深已故
    2020-11-30 17:04

    You can solve this by finding

    ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
    

    in your .sql file, and swapping it with

    ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
    

提交回复
热议问题