enter image description here

I am trying migrate to another url my website on WordPress. I have done this process a lot of time, but now I have an error “ending quote ‘ was expected”.
This is my code for transferring.

    UPDATE wp_options SET option_value = replace(option_value, 'http://olddomain.com', 'http://newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid, 'http://olddomain.com','http://newdomain.com');

UPDATE wp_posts SET post_content = replace(post_content, 'http://olddomain.com', 'http://newdomain.com');

UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://olddomain.com', 'http://newdomain.com');

What do I do wrong? At the other providers this code is working.
And this a screenshot. Can you help me.

Read more here: phpMyAdmin ending quote ‘ was expected


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: