It appears, at least in cPanel, the lines in question were not required in the export, with the unsurprising consequence of the other encapsulated sql statements defaulting to reference the current database only.
Turns out to be convenient when more than one database is configured, so long as there are no statements that select objects from other databases (untested).
Related Posts:
- Export SQL query based on custom field?
- How do I import an SQL file using the command line in MySQL?
- Setting up foreign keys in phpMyAdmin?
- #1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
- MySQL Error #1133 – Can’t find any matching row in the user table
- phpmyadmin #1045 Cannot log in to the MySQL server. after installing mysql command line client
- How to create a foreign key in phpmyadmin
- importing a CSV into phpmyadmin
- MySQL said: Documentation #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
- What specific database privileges does WordPress need?
- “#1067 – Invalid default value for ‘post_date'” when trying to reset AI after backup
- How to copy post titles to post slug in phpmyadmin
- How to do a MySQL dump from production site without using a search and replace script for local development?
- How to Create a Admin User for A WordPress Site via MySQL (PHPMyAdmin)?
- SQL error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’ [closed]
- Error while importing database
- Set meta_key and meta_value for all registered user in wordpress using sql query [closed]
- Unknown collation when I import a dump from an existing site into a development database?
- Can’t find my wordpress DB in phpmyadmin
- WordPress database import: Row size too large
- Backing up and restoring multiple sites efficiently
- $wpdb to insert html form information
- Create a form with custom autocomplete address field and CSV import values
- Setting up WordPress Locally on WAMP for a new site (with one already)
- Getting Error Trying to Create Table
- Export Yoast Keywords from MySQL/phpMyAdmin
- Editing mysql tables/database with wordpress or other app/cms
- Migration problems with mysql: Operation not allowed when innodb_forced_recovery > 0 [closed]
- phpMyAdmin error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- Exporting completed webiste for another server
- List users with the most posts in the last 30 days
- latency problems with wordpress install (from SQL import)
- Mysql Server keeps crashing
- How to bulk delete a certain part of all wordpress posts
- When I add metadata, metavalue length is added in to the value in some cases
- WordPress fails to install with “Can’t Select Database” Error (WAMPServer)
- Find locations of all featured images of draft posts via SQL
- SQL query to change custom field in WordPress database
- An SQL query to find orphaned image attachments and their meta
- Weird characters displayed when importing WordPress MySQL db
- cannot log in to the mysql server (wamp and wordpress)
- SQL command to export post_content from wp_posts using phpMyAdmin
- Need SQL query to find&replace image URL
- How do I load a sql.gz file to my database? (importing)
- MySQL error 2006: mysql server has gone away
- “INSERT IGNORE” vs “INSERT … ON DUPLICATE KEY UPDATE”
- #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
- How to get size of mysql database?
- SQL – Update multiple records in one query
- MySQL Error 1093 – Can’t specify target table for update in FROM clause
- mysqladmin: connect to server at ‘localhost’ failed
- mysql update multiple columns with same now()
- Generating a random & unique 8 character string using MySQL
- MySQL > Table doesn’t exist. But it does (or it should)
- Getting java.sql.SQLException: Operation not allowed after ResultSet closed
- Can’t create test file lower test start server mysql
- MySQL delete multiple rows in one query conditions unique to each row
- SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
- CAST to DECIMAL in MySQL
- Failed to Connect to MySQL at localhost:3306 with user root
- Moving WordPress from MAMP to WAMP, can’t access pages
- How do you properly prepare a %LIKE% SQL statement?
- SQL query to update post_date (one post = one single date & time)
- If I consider changing my WordPress DB tables to InnoDB, will it have an effect on the way WordPress works?
- Database: Custom table: sprintf value for DateTime column
- Query to change custom post type with specific category
- WP_USE_EXT_MYSQL
- Distinction on meta value on pre_get_posts
- Query to import data from one MultiSite table to another (pages/sub-pages)
- MySQL Rank & $wpdb
- How to display data from custom table in wordpress phpmyadmin
- WordPress post_status is future, manually added
- How are multiple WordPress WPDB queries handled?
- Will changing the folder name two directories above a fresh wordpress installation break the site?
- Regarding “Insert query error” in wordpress
- WordPress plugin overloading with tmp tables
- Site not responding error – taking long to load [closed]
- WordPress(wpdb class) and mysql stored procedures
- WordPress plugins for database queries
- WordPress doesn’t display accents after migration
- Broken wordpress site, non-working links and no access to wp-admin page
- Replace a character in all post titles and slugs
- Understanding custom php that reads from WP MYSQL
- $wpdb->get_var multiple queries in one database check
- Way to extract wordpress data from folder backup
- Data is not constatntly loading from custom wordpress table
- How to search usermeta table
- How to add virtual column in wpdb get_result statement
- PHP Warning: mysqli_error(): Couldn’t fetch mysqli in
- I want to share local developement and staging DB — Is this very smart or very stupid?
- Extract all users along with yoast metadata description
- Featured image from custom to WordPress database
- WordPress asks to install, but is already installed?
- Deleting a table row through query
- Simple SQL Query in wordpress
- optimise SQL wordpress call
- WP_Query with LIKE returns strange query
- How to find source of these strange SQL queries?
- How to reduce uncached page generation time?
- Do Seeded Orderby Rand Queries Benefit from DB Caching?