When transferring the site to Wordpress to a local server, to replace the url, I used the below query via phpmyadmin. And before problems never arose:
UPDATE wp_options SET option_value = REPLACE( option_value, 'http://example.com', 'http://localhost/example.com' ) WHERE option_name = 'home' OR option_name = 'siteurl' And now in the query window, REPLACE , is underlined with the following error:
The statement was found, but there was no delimiter between it and the previous one. (about REPLACE)
And at the request itself, the following error occurs:
# 1064 - You have an error in your SQL syntax; check it out.
I tried different ways that I found, but nothing helped. On LAN, I use xampp 5.6.14-3.