I'm using wp-cli tool for searching and replacing the site's url to a new url. I'm executing this command in command line in the directory of the wordpress installation:
C:\xampp\htdocs\somewebsite>wp search-replace 'somewebsite.com' 'new_website.com'
the command does not issue any errors, and when i check the database with this sql:
SELECT * FROM wp_options WHERE option_value LIKE '%new_website.com%'
I get zero results.
I have the the username, password, db name, location set correctly in wp.config file.
EDIT
By any chance does this have to do with the sql file permissions?
EDIT Ok it wp-cli did not work for me but https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ did. Make sure you use the stable version as of this writing which is: v2.1.0 STABLE.