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

Facing these possible accidents, is your operation and maintenance team ready?

With a loud bang, the data center collapsed The d...

Before the 5G feast, the operators' tight restrictions have been booked

At the 2019 Mobile World Congress held in Barcelo...

South Korea: 14 6G communication satellites will be launched before 2031

June 21 news, according to foreign media reports,...

The Internet of Identity is coming, and IAM will undergo a major change

What is the difference between the Internet of Id...

API Gateway Selection: I use OpenResty!

Today I want to talk to you about the topic of ga...

Interview: ZooKeeper 23 questions, see if you can answer them

1. What is ZooKeeper? ZooKeeper is a distributed,...

I heard that the client will disappear within three years.

[[400044]] This article is reprinted from the WeC...

DirectAdmin (DA) latest installation tutorial (2020)

I haven't installed a panel for several years...

How can enterprises fully leverage the potential of private 5G networks?

It may take some time for 5G to become the most a...