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
UPDATE:
You should also replace in your sql exported file TYPE=MyISAM
with ENGINE=MyISAM
Related Posts:
- I broke database after reuploading local version – what exactly happened? Database error
- Why is my database import losing text widget data?
- Get error messages when $wpdb->insert() returns false?
- Detecting errors generated by $wpdb->get_results()
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- $wpdb->prepare() warning in WordPress 3.5
- Changing the Database Connection Error Message
- What’s the database relationship between a post and its attachments
- Export WP database for import using WP-CLI on Vagrant Box
- Importing posts from old website to new conflicting post ID’s?
- Strange Deadlock database error for the query “Delete From wp_options”
- WordPress showing install screen after max_questions error
- What causes the “max_user_connections” warning on WordPress frontend?
- $wpdb variable throw this error Call to a member function get_results() on a non-object in
- Error establishing a database connection – with Debug Data
- Is a direct or import approach safer for migration into WordPress?
- MySQL Syntax Error upon restoring database from backup [closed]
- error establishing a database connection
- Error: SELECT SQL_CALC_FOUND_ROWS
- Error establishing a database connection on Installation
- SQL Error wp_commentmeta – incorrect table definition
- Import live site to local setup without access to live site
- Moving WP from local server to live, error establishing a db connection
- Error establishing a database connection; After importing DB & Theme
- Where are WP_Errors Saved
- WordPress database import: Row size too large
- $wpdb doesn’t like to store arrays
- Error establishing database connection – high traffic?
- Export / import WordPress database
- Catalina an MAMP Database Conenction Error
- Merging two databases without borking it
- Importing CSV into database table not working?
- Import users from old WP site to new one
- Trouble Migrating all data blog from WordPress.com to WordPress.org
- How to fix database error duplicate entry
- Connection refused on locahost after importing database?
- Moving to another server database connection error [closed]
- “Error establishing a database connection” – Intermittent error on GoDaddy
- Importing Direct to DB – GUID Question
- Problem in using wpdb
- How can I restrict php mail() to only send me one email after a db error
- Best practice to import user base (subscribers) from one website to another?
- Importer fails to import every post
- Global__r connection timed out
- WordPress database products structure
- SELECT SQL_CALC_FOUND_ROWS with wordpress search
- Is it good practice to import/export a blog to test a redesign?
- Error establishing a database connection in wordpress site , website not opening
- How to get the full stack trace for WordPress “table doesn’t exist” error in debug.log?
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- SQL database import #1046 error
- Featured image from custom to WordPress database
- error establishing a database connection 3
- “wordpress error in establishing database connection” and missing tables
- error establishing database connection (WAMP + filezilla)
- Hang Up Followed By Can’t select database
- Database error after importing WordPress
- Catchable fatal error in formatting.php
- What am I doing wrong here? WordPress database error
- Restoring .sql backup results in “Error establishing a database connection”
- Print output of Table Creation
- Error at time of WordPress Installation
- WordPress database error Unknown column
- Importing Concrete5 content to WordPress
- Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]
- Database Errors since site updated to WordPress 6.4.3
- update_post_meta returns ID, but nothing in the database
- wp-admin login redirecting to home page
- Problem while importing a site in WPLocal: SQL files fail to import
- What is an ORM, how does it work, and how should I use one? [closed]
- What is the difference between an ORM and an ODM?
- What is this JavaScript “require”?
- Rename a table in MySQL
- How should I tackle –secure-file-priv in MySQL?
- What is this JavaScript “require”?
- What is “Advanced” SQL?
- What’s the difference between identifying and non-identifying relationships?
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- What are the differences between B trees and B+ trees?
- MySQL SELECT increment counter
- How to resolve ORA-011033: ORACLE initialization or shutdown in progress
- Example of a strong and weak entity types
- Oracle SQL query for Date format
- phpMyAdmin – Error > Incorrect format parameter?
- Strange Characters in database text: Ã, Ã, ¢, â‚ €,
- Difference between partition key, composite key and clustering key in Cassandra?
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Database vs File system storage
- Can I have multiple primary keys in a single table?
- Exclude Statement in SQL
- How do you query for “is not null” in Mongo?
- What is a file based database?
- Is it fine to have foreign key as primary key?
- Storing Images in DB – Yea or Nay?
- Using wpdb to connect to a separate database
- how to Optimize WordPress database for 10 million post? [duplicate]