ERROR 1273 (HY000): Unknown collation: 'utf8mb4_unicode_520_ci'

ERROR 1273 (HY000): Unknown collation: 'utf8mb4_unicode_520_ci'

Today, when importing a MySQL database, I encountered an error message: ERROR 1273 (HY000) at line 129: Unknown collation: 'utf8mb4_unicode_520_ci'. I looked and it seemed that other people had encountered the same problem, so I wrote it down for my reference next time I encounter it. If other readers encounter it, they can also refer to it.

The VPS host installed the LNMP1.8 one-click package, and an error occurred when trying to import the database:

 [root@Server ~]# mysql -u -p.net < blog.sql
ERROR 1273 (HY000) at line 129: Unknown collation: 'utf8mb4_unicode_520_ci'

The solution is also very simple. Open the database with an editor and replace all the "utf8mb4_unicode_520_ci" characters in the database with "utf8mb4_unicode_ci", then import it again and there will be no problem.

<<:  DediPath July Promotion: 50% off all VPS/HybridServers/Dedicated Servers, multiple data centers in Los Angeles/San Jose, etc.

>>:  Migrate WHM/cPanel data to DA (DirectAdmin)

Recommend

It will take time for 5G cross-network roaming to become popular

On May 17, at the opening ceremony of the "2...

Three key reasons why automakers are adopting 5G

Automakers are already taking the lead in incorpo...

How far will 5G go on the road to industrial application?

[[377138]] 5G unmanned mines, 5G intelligent tran...

Why use MAC address when we have IP address?

IP address and MAC address are both very importan...

Popular Science on 5G Technology and Standards You Must Know

In 2017, the application of 5G technology has bec...

Gcore (gcorelabs) Ashburn (Virginia) VPS simple test

Previously, I conducted a simple test on some of ...

What Every Developer Should Know About TCP

Why do you need to place servers geographically c...

The basics of optical fiber you must know

1. Classification of optical fiber Optical fibers...

Comparison of LPWAN technologies: Ten criteria for successful implementation

Low Power Wide Area Network (LPWAN) is the fastes...

Slow SQL Management Sharing

[[415145]] Why do you want to do this? 1 What is ...