Kindly refer to this ticket.
https://wordpress.org/support/topic/warning-mysqli_query-mysql-server-has-gone-away/#topic-9911138-replies
Its related to mysql memory exhausted, due to large db size or might be low packet size memory.
Related Posts:
- Sending WordPress database information to cross domain the safe way?
- wordpress database error
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Keeping WP database synced across multiple developers using git
- Staging sites, how do you manage synchronising updates in the DB?
- How to get the post publish date outside the loop?
- Using transients in conjunction with memcached
- How to define composite keys with dbDelta()
- Has parent field in the table wp_term_taxonomy has term_id or term_taxonomy_id
- Forcing nickname as display_name in custom edit profile template
- Syncing local content with development / staging sites
- Export WP database for import using WP-CLI on Vagrant Box
- How to get site URL if database is disconnected?
- Showing content from another wordpress installation database in the page template loop?
- Multiple WP install with same users database
- Dynamic data in `wp_register_script` needed
- WordPress page title repeated in SOME pages
- Why is $wpdb->get_results failing on certain tables but not others (which have data)?
- How to correctly add a table to the WordPress MySQL database
- Help running a MySQL query to update all wp_#_options tables in a Multisite install
- How to verify password outside WordPress?
- Weird issue with database migration and SSL links
- Is it safe to convert tables from MyISAM to InnoDB?
- Use one WordPress database with multiple instances of one site
- How to use a different database to list and manage comments in the backend
- How do I properly update the WordPress database password?
- wpdb_prepare with multiple or condition
- $wpdb->insert is not working
- WordPress Install and Database on separate hosting?
- Moving a site from a temporary domain to the live domain [duplicate]
- Error establishing a database connection on Installation
- What is this in my tables
- Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
- WP get stuck with a query on MySQL when the site is resumed
- Use mulitple usernames?
- Routine to convert custom post meta from old to new value
- How to move the WordPress site Layout from test site to Production site?
- Trying to change database tables storage engine to innodb gives error “invalid default value for ‘post_date'”
- database connection [closed]
- sanitize POST arrays
- WP character encoding error after sharing post on Facebook �
- Sending data with multi step form to wp database
- Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Able to use all admin pages but in the frontend there is a “Error establishing a database connection”-Error
- WordPress query is not returning proper results
- Retrieve data from the database to table such as comments in the admin control panel
- Need to store custom user information (many-many relationsips), preferably not as user meta
- charset problem with new custom table
- Undefined Variable: mysqli error when connecting to database
- Localhost to Staging to Development Dynamic WP-CONFIG
- How to share plugin created database tables between two WordPress sites
- How to connect to a remote database in WordPress?
- Selectively restoring original posts from a compromised site to a freshly installed WordPress database
- can we add extra table or column in wordpress for adding our data
- Which data is written and stored in the database when read-only (non-posting, non-commenting) users visit the site?
- $wpdb is not initiating
- Duplicated site isn’t recognized as a site
- My options table is huge. What can I do?
- What can I do when an outside party hacks into my weblog and changes my display name?
- Changing root password in PHPMyAdmin for WordPress Database when going live
- Cannot restore wordpress database from sql dump [closed]
- WooCommerce: remove sample & dummy data
- multiple wordpress installation with shared usertable on an different database
- Is database deleted on clicking “reinstall” button in WordPress updates?
- wordpress database restore – broken link
- 6 random character prefix automatically added to entire DB tables, how / why? [closed]
- Insert Custom Data into wpusers
- I cannot find the difference between these wp_capabilities values in wp_usermeta
- What unexpected data might be stored in terms table and related tables?
- No users table in WordPress’s database
- Copying blog from root to /folder (Not moving)
- Is there any way to monitor a MySQL db and check what has changed?
- DB prefix not updating
- How to restore an option_value with serialized data from backup data
- Any other way of storing plugin admin data setting
- Will memcached improve performance with WP Super Cache already running?
- How can i restore a WordPress site with the DB and WordPress Files
- User input to database
- What structure and database storage method should I use for temporary storage that may be written concurrently?
- Change user_nickname for author page link
- What is recommended data type and encryption type for password in a database
- Is it safe to add INDEX to a column in WordPress database?
- Help posting values to DB on submit using $wpdb->query
- Restore Old Database Over Newer WP & Plugin Files
- Creating a database in my plugin not working
- How to create index (sql) to a meta_key?
- Not sure what to do next to optimize
- Database structure for thousands of posts
- How do I find out from my database what version of WordPress I need?
- get_user_meta and umeta_id
- $wpdb not working
- Accessing content from third party as native posts in WordPress
- Extracted CSV as Array for Custom Query Loop
- Hang Up Followed By Can’t select database
- One WP Database outside localhost and two connections
- Fetch data from another site, but the same database
- Simple email input store in database
- Every time I update or install a plugin I get “Error Establishing a Database Connection in WordPress”
- Upload wordpress from localhost to 000webhost
- WP Multisite Users Not Linking