Wishlist 0 ¥0.00

mysql8.0数据导入mysql5.7问题解决

本地数据库是mysql8.0,但是腾讯云云数据库是mysql5.7,在导入的时候提示了如下错误:

"Warning: Using a password on the command line interface can be insecure.?ERROR 1273 (HY000) at line 7819: Unknown collation: 'utf8mb4_0900_ai_ci'?dumper err?""-17")

这是因为腾讯云云数据库mysql5.7不支持utf8mb4_0900_ai_ci字符集,所以就把数据库打开,搜索utf8mb4_0900_ai_ci,然后批量替换成:utf8_general_ci,然后再导入就行了。

如果原来数据库格式是utf8mb4,而要导入的数据库不支持utf8mb4,那就再把utf8mb4批量改成utf8就行。

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.