Error -1 is fairly broad, but has a few common causes:
- A full disk
- Memory or resource issues on the server (check mysql logs)
- Database Corruption (run checks on the database tables)
If the issue winds up being database corruption, you will want to follow the repair procedures for the storage engine used for the corrupted tables. If all else fails, roll to a backup.
Related Posts:
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Checking if Database Table exists
- 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?
- What is the advantage of separating wp_users and wp_usermeta table?
- 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
- “MySQL server has gone away” since update to 3.8
- 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
- Who is responsible for data sanitization in WordPress development?
- 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?
- Using GROUP CONCAT in my-sql query with wp_usermeta table
- 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 �
- 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
- $wpdb->insert Giving duplicates
- 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?
- Files on Localhost, Database on Server
- 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
- Change user_nickname for author page link
- WordPress site migration – locked out of admin area
- Error establishing a database connection with XAMPP
- How to map data on CSV to web pages?
- Search and replace http:// to https:// 10x my database size
- insert data from a form:: Warning Empty query mysqli::query()
- Db connection problem on Azure Since database moved on CLEARDB
- How to get specific table by current user login
- After Migration From dev, Only my Links to the Homepage Still Redirect to dev
- do I need to change the default database prefix?
- WordPress Database Posts Table query
- How to use separate database on differrent server with different username and password in wordpress for users data
- 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”
- $wpdb->insert not working for last select option
- How to create a table [closed]
- Upload wordpress from localhost to 000webhost
- Query a meta key using an array of values where the database value is a string