mysql throwing syntax error

I am trying to update my wordpress table and this query string which look fine to me is throwing a syntax error.
Is there something I'm missing.

UPDATE `wp_options` SET `option_value` = replace(`option_value`, "", "") WHERE `option_name` = 'home' OR `option_name` = 'siteurl';
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You need to use the apostrophes instead of the double quotes:
UPDATE `wp_options` 
SET `option_value` = replace(`option_value`, '', '') 
WHERE `option_name` = 'home' OR `option_name` = 'siteurl'; 

Open in new window

rivkamakAuthor Commented:
Sorry, that didn't help the problem
And what error are you getting?
Need More Insight Into What’s Killing Your Network

Flow data analysis from SolarWinds NetFlow Traffic Analyzer (NTA), along with Network Performance Monitor (NPM), can give you deeper visibility into your network’s traffic.

Dave BaldwinFixer of ProblemsCommented:
That doesn't look right to me.  REPLACE acts like INSERT.  I think I would be doing...
UPDATE `wp_options` SET `option_value` = "" WHERE `option_name` = 'home' OR `option_name` = 'siteurl'; 

Open in new window

If the previous value is important, maybe this:
UPDATE `wp_options` SET `option_value` = "" WHERE (`option_name` = 'home' OR `option_name` = 'siteurl') AND `option_value` = ""; 

Open in new window

There is a REPLACE function in MySQL
Dave BaldwinFixer of ProblemsCommented:
Yes.  And the manual says it acts like INSERT.  I don't think it should be used where it is in the original post.
Your UPDATE command works fine for me even with double quotes...

Does following command work for you?
SELECT * FROM `wp_options` WHERE `option_name` = 'home' OR `option_name` = 'siteurl';

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.