The others are not needed as you point out.
Btw, what you could do is, conditionally set the user/pass based on the requested page. As in unprivileged with select/insert/update/delete for normal usage, and privileged with definition/index related stuff in addition when visiting the upgrade page.
Related Posts:
- MySQL Database User: Which Privileges are needed?
- creating new field on mysql
- A WP dev site that displays content from a live site’s database but cannot write to wp_posts?
- WPCLI search and replace in a particlar site dir effect another site-dir
- Merging development site with live site
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- MySQL SELECT increment counter
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Using wpdb to connect to a separate database
- Database synchronization between dev/staging and production
- How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?
- WordPress (MyISAM) database is slow, should I switch to InnoDB?
- WordPress Database lost auto increment
- How can I make a WordPress database portable and url independent?
- wpdb->insert multiple record at once
- Restoring WordPress posts from database only
- Slow wp_term_relationships query
- How to use “TRUNCATE TABLE” MySQL statement?
- store simple data in get_option()
- What specific database privileges does WordPress need?
- Using Dynamic Data Pulled from a MySQL Table in a WordPress Page
- WordPress for a very large website
- What are conventions about the schema of the $table_prefix
- Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
- Is deleting orphaned wp_options entries safe?
- How to solve slow WordPress site caused by attachment_metadata
- How to implement content from external database into WordPress text page? [closed]
- Delete all post meta except featured image
- WooCommerce – Query for ordered products
- How to find if a post with custom_field == X exists?
- Large database causes slow load
- Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin
- Database slowdown after update to 3.4.1
- Query WordPress database by registered date and role
- Tons of Twitter rows in my database
- How to insert data into MySQL database from the form created in WordPress site
- Set Display Name to first and last name (phpmyadmin SQL Query)
- How to fix unchanged URLs in Database after running serialized search and replace script?
- Merging WordPress posts from different databases
- Why are no posts showing despite my apparently correct DB restoration?
- Select Multiple meta_value from WP DB; Single Query
- Which is more efficient? Using usermeta, or creating a new MySQL table?
- Is it possible to split database tables using HyperDB?
- What happens if I overwrite the current wp_options table with a backup from a week ago?
- SQL Error wp_commentmeta – incorrect table definition
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- CRUD operations using WordPress database API
- Handling large N data in WordPress
- How to Mirror WordPress database from Remote server to Local server
- Is MariaDB’s Aria storage engine suitable for WordPress?
- Slow queries constantly getting stuck on WordPress database of ~100,000 posts
- A MySQL DB within a MySQL DB
- How do I query wp_options for expired transient pairs with MySQL commands?
- Is there a way to recover the table wp_term_relationships?
- 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
- Migration: Copying database content to a different server
- How do I convert a MySQL database from utf8mb4 to utf8 encoding?
- Query multiple tables at once?
- Remove empty rows from the database
- Why user_pass column in wp_users table is varchar(64)
- Custom WordPress Table wpdb
- Why this query is not showing any result on wordpresss home page?
- Best practice to limit results in get_row()?
- Applying WP-cli Search & Replace to Static SQL Dump File
- Adding prefix to WordPress database tables breaks admin capabilities?
- Trouble running $wpdb->query() with last_insert_id
- Can local WordPress installs share /wp-content/ folder and database?
- how to encyrpt DB_PASSWORD in wp-config
- Moving WordPress site to new domain – database import [duplicate]
- Changing order of db results when encoding to JSON
- Integrating Custom Database with WordPress
- Link multiple user databases together?
- I wanted to Know that how can I give ingore to 0000-00-00 in my config file
- How can I find user role in Mysql?
- How to import products in host instead of database on wordpress?
- I would like some help wth an SQL query to link posts with categories
- Where is the HTML-handler part in the wpdb class?
- Featured image from custom to WordPress database
- WordPress Database Query works in phpMyAdmin but not in the code
- next comment id number wordpress
- Delete all users meta that named: user_avatar
- Migrate not successful, DB is broken. How to fix, or at least output static HTML without plugins?
- The MySQL Connection could not be established., before it was joomla but i have change it into worpress
- spambot registering without providing email or password, bypassing registration process
- Possible to restore wordpress database from mysql56 and sqlite files?
- Correct permissions for SQLite database
- Missing latest posts and options after DB migration via phpMyAdmin
- live site do not update after importing sql database
- Widgets with *internal* links do not display after database migration
- How do i get value from wp_postmeta?
- “MySQL server has gone away” since update to 3.8
- featured image not showing up with mysql_connect
- Import Excel (or csv) Table with user-data as subscribers to wordpress
- Print output of Table Creation
- SQL query : Select a thumbnail for a media
- SQL Query to get post_id from wp_posts and and meta_key(s) from wp_postmeta
- How to find fresh (last modified) and sql backup?
- Uploading to WordPress Database