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]
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Why WordPress choose data serialization over json_encode?
- Does WordPress use the InnoDB engine for MySQL by default?
- Best way to import users, post and categories from an external database
- Performance tips for a large user base [closed]
- Migrate a Non WordPress database to wordpress [closed]
- Moving an entire wordpress site from one domain to a new domain and database
- Custom DB_COLLATE (collation) value not working on fresh install?
- How does WordPress create its database during installation?
- $wpdb->update has finished saving trigger?
- Does WordPress always create unique passwords?
- Merge two WordPress installations into one, and keep posts separated?
- Improve performance by removing unnecessary database queries
- Unable to set a default serialized array using dbdelta()
- Change the default data installed when setting up WordPress
- SymmetricDS in dev + prod workflow?
- Fixing YARPP plugin FULLTEXT MySQL indexing
- Failed to import “File name”: Invalid post type jetpack-portfolio
- Counting post and changing roles in mysql database. Query not code
- wpdb Insert unknown post data dynamic foreach loop
- How do I use a database in a custom theme?
- How do you enable scripts on a WordPress installation in Softaculous?
- How to rerieve comments and their replies from DB
- Inserting data with Geometry field
- Export only a part of the database for migration
- Why am I being prompted to reinstall wordpress?
- database error WordPress move from one hosting to other
- update multiple user meta field based on another meta field
- After renaming MySQL database, I can no longer access my Blog page
- execute custom function on database connection error
- Call to a member function insert()
- How to add data from wordpress tables to new database tables you have created
- How to back-up a database on IIS
- Where are database files of a WordPress website?