Just set a random user in your wp-config.php
for each request:
$db_users = array(
'user_1',
'user_2',
'user_3',
);
define( 'DB_USER', $db_users[ array_rand( $db_users ) ] );
Related Posts:
- Please explain how WordPress works with MySQL character set and collation at a low level
- Connect to database using wordpress wp-config file
- Accessing two databases
- Custom DB_COLLATE (collation) value not working on fresh install?
- Why can’t I swap a DB in a WP install? [closed]
- Error establishing a database connection on Installation
- Moving WP from local server to live, error establishing a db connection
- Connect to a remote database for wordpress in my own hosting server
- Switching Databases in LocalHost
- Localhost to Staging to Development Dynamic WP-CONFIG
- How to share plugin created database tables between two WordPress sites
- Problem migrating to localhost
- Is my way to change WordPress server is correct?
- how to encyrpt DB_PASSWORD in wp-config
- Getting WordPress to work inside a rails 3 application
- Can two domains use the same database?
- WordPress keeps redirecting to localhost
- How to re-connect WP files in lampp/htdocs to new SQL database to recover site under development
- Duplicate database to roll back theme & content changes
- Confused over wp-config.php and ‘database user + database password + name’
- Cloned site not connecting to database – MAMP
- execute custom function on database connection error
- Does WordPress Support Using Named Pipes on the Windows Operating System?
- I have include wp-config, should I add global $wpdb also?
- Can’t Install WordPress (local) Failed to open file wp-includes/wp-db.php
- Issue “Error establishing a database connection” problem.
- /var/run/mysqld/mysqld.sock
- DB access blocked when initializing WP externally
- How to use remote db tables in current config? [duplicate]
- Multiple Address In WP-Option Value
- ERROR: “Table Prefix” must not be empty
- Can I connect WordPress website with an external database?
- wp-config was suddenly updated
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Relaunch 4.2 utf8mb4 database upgrade
- Get error messages when $wpdb->insert() returns false?
- Where can I find the database changes between WordPress versions?
- When is it appropriate to create a new table in the WordPress database?
- Special characters in WordPress UTF-8 [closed]
- How to delete outdated, wrongly sized images in _wp_attachment_metadata?
- $wpdb variable throw this error Call to a member function get_results() on a non-object in
- Extend the wp_users table
- I have a problem with my WordPress DB after I tried to install multi-site
- Database sync between local and production
- Database error Deadlock found when trying to get lock; try restarting
- Connect Second Database to WordPress
- update_user_meta() does not work
- Query from a different database than the default
- Need of separate security plugins for both root and subfolder sites WordPress?
- Uppercase to sentence case for post titles
- How to retrieve and show database table in wordpress dashboard
- Moving to another host; which tables to move in a database
- Merge two WordPress installations into one, and keep posts separated?
- Moving online website to MAMP or dumb idea?
- How can I transition a site from using the Beta Tester plugin to a “normal” install?
- Storing data for a wordpress plugin
- WordPress database import: Row size too large
- Advanced SELECT query with condtional statements
- How can I (semi) automate a database export and import to a different location?
- Insert post in another database
- Improve performance by removing unnecessary database queries
- Redirecting to old domain after migration website
- Localhost keeps redirecting to live domain
- Child parent relationship inside WP DB
- Copying database tables to new database
- What does wp_term_taxonomy.parent reference?
- How to get nav_menu_item_id and slug from wp database
- Is there a way to execute a php script outside WordPress?
- How can I restrict php mail() to only send me one email after a db error
- pull data from a remote wordpress database
- How to delete post comments from the database via SQL statement?
- Users table missing from Database [closed]
- Why does changing Database Table Prefixes result in loss of content?
- How to connect and insert data in database of wordpress?
- wp_option table error while importing
- wp_insert_user not creating account correctly when ID is manually set
- What is wrong here? Issue with post_id and meta_value
- Counting post and changing roles in mysql database. Query not code
- Deleting empty meta key values
- WP 5.5, child themes, customizer and a weird cache issue
- How do I change several broken URLs in a several wordpress databases in the fastest way?
- Best way to store 1 billion+ posts?
- Why am I being prompted to reinstall wordpress?
- What’s the easiest way to connect external database and display data on wordpress?
- Character encoding issue – black diamond question marks on imported post excerpts
- Reinstall wordpress/mySQL caused database problem
- How To connect to the same WordPress database with different database user
- Call to a member function insert()
- Create a new table on the database and save parameters from a contact form
- How to have WP Search widget index dynamically generated content?
- Preventing concurrent update of data
- Category not displaying in add post, edit post, and categories page.
- Creating Tables in WordPress Database
- Calling update_user_meta inside of another function doesn’t work
- $wpdb->prepare returns empty array
- Prevent creation of unused database tables?
- How to store a plain password in WordPress database in another field
- wp_usermeta key problem
- Database Queries are crashing the server
- Uploading to WordPress Database