You should have not searched the field and replaced all the references to wp_
with anything.
For example : the value of the entry with meta_key wp_page_for_privacy_policy
will be change to wp_addtionnal_prefix page_for_privacy_policy
.
Hence there could be a lot of misfitted values in your table.
A better way would have been to :
- export the DB
- import the DB as a new DB
- rename all tables with the new prefixes
- export it again
- import it in you old DB
- rename prefix in wp_config.php
- check if everything is allright
Related Posts:
- Split WP install between 2 databases?
- Inserting Post Meta From SQL
- How to execute mulitple statement SQL queries using $wpdb->query?
- Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin
- Database with mixed collation (utf8mb4 & utf8_general_ci)
- Query WordPress database by registered date and role
- Size article thumbnails and retrieve them directly from database
- wpdb_prepare with multiple or condition
- WordPress mysql table double prefixes
- SQL Error wp_commentmeta – incorrect table definition
- WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
- How do I get the posts within a certain year/date(with sql query)?
- Create table from array with prepare
- Query multiple tables at once?
- Why this query is not showing any result on wordpresss home page?
- SQL query to set posts in bulk based on the post content
- $wpdb->get_var – What value is returned when zero records are found?
- DB prefix not updating
- I wanted to Know that how can I give ingore to 0000-00-00 in my config file
- How to edit custom table data in frontend
- How to map data on CSV to web pages?
- How to create index (sql) to a meta_key?
- Delete all users meta that named: user_avatar
- The MySQL Connection could not be established., before it was joomla but i have change it into worpress
- Hang Up Followed By Can’t select database
- Migrated to Namecheap, now Trouble with Database & wp-config [closed]
- export individual posts to text files or a single csv file
- SQL query : Select a thumbnail for a media
- why you don’t Implement PDO for access every thing to database
- SQL Query to get post_id from wp_posts and and meta_key(s) from wp_postmeta
- Have WordPress Use a Different Database for users
- MySQL Error: : ‘Access denied for user ‘root’@’localhost’
- Case statement in MySQL
- Oracle SQL query for Date format
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Error: Duplicate entry ‘0’ for key ‘PRIMARY’
- Using wpdb to connect to a separate database
- WPDB Insert or if exists Update
- Checking if Database Table exists
- The MySQL alternatives: Do Percona Server and MariaDB work well with WordPress, and do they make WordPress go better?
- wpdb->insert multiple record at once
- How to monitor server for error establishing a database connection
- WordPress for a very large website
- WooCommerce with thousands of products – site is very slow – optimize db queries? [closed]
- How to Join two tables from separate databases within WordPress
- Change SQL get_results to search for posts with custom term in custom taxonomy
- Error establishing a database connection – with Debug Data
- wpdb query on custom table not working [closed]
- stdObject stored in database. How does one convert it to usable format?
- Using table lock with wp_insert_post?
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Migrating database / content of non-CMS site to WordPress
- Does WordPress ever need multiple databases?
- Why are no posts showing despite my apparently correct DB restoration?
- How to query the WordPress database to get posts of a certain custom post type, taxonomy and field?
- Delete all post meta except featured image Using SQL
- Adding new row to wp_post table
- How do I find which articles are missing a featured image in The WordPress database?
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- Change WordPress prefix for only one table?
- Database Tables Lost Indexes? How to Recover?
- Using GROUP CONCAT in my-sql query with wp_usermeta table
- How to move the WordPress site Layout from test site to Production site?
- Retrieve data from the database to table such as comments in the admin control panel
- Setup private content for specific users with daily updates [closed]
- Migration: Copying database content to a different server
- Call to undefined function get_user_meta() – trying to access data in MySQL from custom fields
- Have working sql query… trying to adjust it to use $wpdb
- creating new field on mysql
- Remove empty rows from the database
- Error message on blog posts only on my local environment [closed]
- Custom WordPress Table wpdb
- How can I detect right db type?
- Files on Localhost, Database on Server
- Second ezSQL initialization for MSSQL
- Fetch a single row from a custom table for to a given ID
- Database create or redirect
- How to escape percentage sign(%) in sql query with $wpdb->prepare?
- Recovery – Restore Database after moving folder location locally
- Replacing javascript link in WordPress database without getting mysql syntax errors
- Performing CRUD operations on front end in wordpress
- What is my error trying to create a new table in the database?
- Job and Employee Performance Tracking with Product Safety
- how to access 2nd Mysqli Database from different server for wordpress
- Error establishing a database connection – WordPress setup, everything else is working
- Is there a way for two deferent themes to consume two different DB on a same WP instance?
- Search and Replace in Windows XAMPP site
- The function is deprecated; use mysql_real_escape_string() instead
- How can i syn wordpress user table with a stand-alone php script?
- insert data from a form:: Warning Empty query mysqli::query()
- How can I get $wpdb to show MySQL warnings?
- How to get specific table by current user login
- WordPress Database Posts Table query
- How to extract some part of WordPress full source code
- Mysql Queries per Visit – Crazy High
- MySQL swap one table for another?
- using same mysql user with many databases
- Insert double entry in DB
- Why are my WordPress post queries so slow?
- Custom wordpress SQL statement for a website