简体   繁体   中英

Unknown character set: 'utf8mb4'

I know that many had this problem, and solved it, but even with their solutions, I've gotten no luck..

I tried exporting my localhost phpadmin to my webserver, and i got:

SQL query:

/*!40101 SET NAMES utf8mb4 */;


MySQL said: Documentation

#1115 - Unknown character set: 'utf8mb4' 

Local phpmyadmin:

Server type: MariaDB

Server charset: UTF-8 Unicode (utf8)

Version: 4.5.2

Webhost phpmyadmin:

Version: 2.11.4

Solved it. Downloaded MYSQL workbench, logged into my local database, and exported it from the program. Then, i simply imported the file, and it worked!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM