This issue is as a result of your server not supporting the utf8mb4_unicode_520_ci
collation type.
To resolve this you should convert the collation for all tables with utf8mb4_unicode_520_ci
to utf8_general_ci
If you’re exporting through phpmyadmin, you can:
-
Click the “Export” tab for the database
-
Click the “Custom” radio button
-
Go the section titled “Format-specific options” and change the
dropdown for “Database system or older MySQL server to maximize
output compatibility with:” from NONE to MYSQL40. -
Scroll to the bottom and click “GO”.
OR run the following query on each of the affected tables:
ALTER TABLE myTable CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Related Posts:
- Exporting completed webiste for another server
- Export SQL query based on custom field?
- How do I import an SQL file using the command line in MySQL?
- #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
- How to change collation of database, table, column?
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- MySQL Syntax Error upon restoring database from backup [closed]
- Error while importing database
- Create a form with custom autocomplete address field and CSV import values
- Migration problems with mysql: Operation not allowed when innodb_forced_recovery > 0 [closed]
- latency problems with wordpress install (from SQL import)
- Weird characters displayed when importing WordPress MySQL db
- “Error 1064” when importing msql database after updating wordpress version to 4.2.1
- How do I load a sql.gz file to my database? (importing)
- After Import: Insert “Use” Statement in Database
- MySQL Error: : ‘Access denied for user ‘root’@’localhost’
- MySQL Error: : ‘Access denied for user ‘root’@’localhost’
- How to use mysqli_query() in PHP?
- Access Denied for User ‘root’@’localhost’ (using password: YES) – No Privileges?
- Access Denied for User ‘root’@’localhost’ (using password: YES) – No Privileges?
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- Column count doesn’t match value count at row 1
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- MySQL string replace
- Cannot add or update a child row: a foreign key constraint fails
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- String concatenation in MySQL
- What’s the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN and FULL JOIN? [duplicate]
- Cannot add or update a child row: a foreign key constraint fails
- MySQL Error “Operand should contain 1 column”
- How to use MySQL DECIMAL?
- Access denied for user ‘root@localhost’ (using password:NO)
- Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’ (38)
- How to make MySQL table primary key auto increment with some prefix
- Access denied for user ‘root@localhost’ (using password:NO)
- MySQL ERROR 1290 (HY000) –secure-file-priv option
- MySQL error 2006: mysql server has gone away
- Which MySQL data type to use for storing boolean values
- sql query with multiple where statements
- ERROR 2003 (HY000): Can’t connect to MySQL server on localhost (10061)
- ERROR 1698 (28000): Access denied for user ‘root’@’localhost’
- Cannot delete or update a parent row: a foreign key constraint fails
- Cannot delete or update a parent row: a foreign key constraint fails
- ERROR 2003 (HY000): Can’t connect to MySQL server on localhost (10061)
- MySQL server startup error ‘The server quit without updating PID file’
- Rename a column in MySQL
- “INSERT IGNORE” vs “INSERT … ON DUPLICATE KEY UPDATE”
- Cannot delete or update a parent row: a foreign key constraint fails
- Export Pervasive to MySQL (C#)
- MySQL server startup error ‘The server quit without updating PID file’
- How do I restore a dump file from mysqldump?
- Syntax error due to using a reserved word as a table or column name in MySQL
- ERROR 1698 (28000): Access denied for user ‘root’@’localhost’
- MySQL root password change
- Installation of MySQL for Visual Studio 1.2.8 failed
- Not unique table/alias
- PHP Connection failed: SQLSTATE[HY000] [2002] Connection refused
- MySQL ERROR 1045 (28000): Access denied for user ‘bill’@’localhost’ (using password: YES)
- Your password does not satisfy the current policy requirements
- How do I quickly rename a MySQL database (change schema name)?
- What does SQL Select symbol || mean?
- How do I import an SQL file using the command line in MySQL?
- Install mysql-python (Windows)
- MySQL: Access denied for user ‘test’@’localhost’ (using password: YES) except root user
- PHP Connection failed: SQLSTATE[HY000] [2002] Connection refused
- SQL – Update multiple records in one query
- Mysql: Setup the format of DATETIME to ‘DD-MM-YYYY HH:MM:SS’ when creating a table
- What is the definition of cardinality in SQL
- How to restart remote MySQL server running on Ubuntu linux?
- Authentication plugin ‘caching_sha2_password’ cannot be loaded
- MySQL DROP all tables, ignoring foreign keys
- #1055 – Expression of SELECT list is not in GROUP BY clause and contains nonaggregated column this is incompatible with sql_mode=only_full_group_by
- When to use SELECT … FOR UPDATE?
- Import / Export database with SQL Server Server Management Studio
- Host ‘xxx.xx.xxx.xxx’ is not allowed to connect to this MySQL server
- Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
- Setting up foreign keys in phpMyAdmin?
- Select from multiple tables without a join?
- PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
- ERROR 1396 (HY000): Operation CREATE USER failed for ‘jack’@’localhost’
- SQL Query Where Field DOES NOT Contain $x
- Create a new database with MySQL Workbench
- Duplicating a MySQL table, indices, and data
- Disable ONLY_FULL_GROUP_BY
- what does “/index.php?admin/admin_dashboard” in my url mean
- Column ‘user_id’ in field list is ambiguous
- How to join two tables by multiple columns in SQL?
- How to get size of mysql database?
- mysql Foreign key constraint is incorrectly formed error
- Database sharding vs partitioning
- Selecting data from two different tables without using joins
- MySQL WHERE IN ()
- Access Denied for User ‘root’@’localhost’ (using password: YES) – No Privileges?
- Is there an SQLite equivalent to MySQL’s DESCRIBE [table]?
- ERROR 2003 (HY000): Can’t connect to MySQL server on ‘127.0.0.1’ (111)
- SQL – Update multiple records in one query
- Difference between VARCHAR and TEXT in MySQL
- mysql is not recognised as an internal or external command,operable program or batch
- 1052: Column ‘id’ in field list is ambiguous
- Escape string Python for MySQL