When migrating the MAMP database to the server Are you giving me this error? Can you help me?
Error SQL command:
/*!40101 SET NAMES utf8mb4 */;
MySQL Message:
#1115 - Unknown character set: 'utf8mb4'
When migrating the MAMP database to the server Are you giving me this error? Can you help me?
Error SQL command:
/*!40101 SET NAMES utf8mb4 */;
MySQL Message:
#1115 - Unknown character set: 'utf8mb4'
According to the manual:
The utf8mb4
charset was introduced in version 5.5.3. Therefore, the remote version really can not accept this dump if it is smaller than this.
As the @rray said in the comments, you can check the version with query below:
SELECT @@version
One solution, if you can not upgrade the remote server, you would use charset utf8
same. The only restriction is that Unicode characters with code above 65535 would not be stored, but this will probably not be a big deal unless you need support for more remotely used languages or out-of-the-box symbols.