Not WordPress related, so I am not sure if I have the right to reply in here, but still increase max_user_connections
in my.cnf MySQL configuration file since you are just testing.
There are number of causes for running out of connections, the most common ones involving when the Web/App server is creating unexpectedly large numbers of connections due to a miss-configuration or some script leaking connections or creating too many connections in error.
The solution: Some people increase max_connections
to some very high number so MySQL never runs out of connections.
This however can cause resource utilization problems eating memory and cause MySQL server to swap or be killed by OOM killer process or very poor performance due to high contention.
Related Posts:
- Using wpdb to connect to a separate database
- Get error messages when $wpdb->insert() returns false?
- Detecting errors generated by $wpdb->get_results()
- How to fetch Data in WordPress using MySQLi or $wpdb
- wpdb->insert multiple record at once
- How to define composite keys with dbDelta()
- $wpdb->prepare() warning in WordPress 3.5
- Inserting Post Meta From SQL
- Why does dbDelta() not catch MysqlErrors?
- $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
- How to execute mulitple statement SQL queries using $wpdb->query?
- Database slowdown after update to 3.4.1
- wpdb_prepare with multiple or condition
- SQL Error wp_commentmeta – incorrect table definition
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- Advanced SELECT query with condtional statements
- $wpdb doesn’t like to store arrays
- Error establishing database connection – high traffic?
- Redirecting to old domain after migration website
- Create table from array with prepare
- Trouble Migrating all data blog from WordPress.com to WordPress.org
- WordPress running SQL query to update database from form
- How to fix database error duplicate entry
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- Have working sql query… trying to adjust it to use $wpdb
- Problem in using wpdb
- Custom WordPress Table wpdb
- Best practice to limit results in get_row()?
- Trouble running $wpdb->query() with last_insert_id
- Query Column of Specific ID from Database Table
- How to create more than one new wpdb object?
- How to connect and insert data in database of wordpress?
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- How to escape percentage sign(%) in sql query with $wpdb->prepare?
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- “BS_” rows in postmeta table
- Where is the HTML-handler part in the wpdb class?
- WordPress Database Query works in phpMyAdmin but not in the code
- insert data from a form:: Warning Empty query mysqli::query()
- How can I get $wpdb to show MySQL warnings?
- How To connect to the same WordPress database with different database user
- Hang Up Followed By Can’t select database
- using same mysql user with many databases
- Print output of Table Creation
- Uploading to WordPress Database
- Rename a table in MySQL
- How should I tackle –secure-file-priv in MySQL?
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Checking if Database Table exists
- Connect to database using wordpress wp-config file
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- Does wpdb add considerable overhead on queries with large result sets?
- Is it possible to define two databases for one installation?
- Hook into $wpdb
- “MySQL server has gone away” since update to 3.8
- Updating all rows of table with $wpdb
- Is $wpdb->prepare escaping to much? How to use it properly?
- Remove database entries where post_date > expiration date
- Emojis getting converted to “?”
- Error: SELECT SQL_CALC_FOUND_ROWS
- wpdb custom post_type problem
- Moving WP from local server to live, error establishing a db connection
- In what part of the WordPress core does the users table and usermeta table get joined?
- WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
- Help With MySQL to WPDB Query Conversion
- How to prevent/delay MySQL connections when an object cache is used?
- “Error establishing a database connection” – Intermittent error on GoDaddy
- Error establishing a database connection,
- Can’t update WordFence Options, clear data manually
- How to fetch records from database WordPress
- How and where is wordpress adding mySQL content to database?
- Best practice to import user base (subscribers) from one website to another?
- AJAX wp-mysql running too slow
- Connecting to a different database
- How to delete a particular row in a database table
- Update multiple rows in one query
- SELECT SQL_CALC_FOUND_ROWS with wordpress search
- Should I use an additional column in the DB?
- Remote database -> massive response time increase?
- access JSON results from wordpress database with wpdb
- Getting value from database table depending on field value
- Getting “Error Establishing a Database Connection” on localhost in new Mac OSX Lion environment
- wpdb->insert not inserting first variable
- How do I have a user upload a blog post and then retrieve that to display in a card on the site?
- How do I get database rows from a custom table using wpdb?
- How to edit custom table data in frontend
- PHP Warning: mysqli_query(): after updating my websites php from 5.6 to 7.2
- local wordpress broke after changing URL
- Help posting values to DB on submit using $wpdb->query
- How to create index (sql) to a meta_key?
- WPCLI search and replace in a particlar site dir effect another site-dir
- Accessing content from third party as native posts in WordPress
- Database error after importing WordPress
- Pulling values from a sepcific row in table
- I broke database after reuploading local version – what exactly happened? Database error
- Inserting into data into external DB using WPDB
- Insert Extra fields added in the front end registration form to DB
- $wpdb->insert not working for last select option
- Error at time of WordPress Installation