1
嗨iam试图改变我的WordPress数据库中某些链接的路径。更改MySQL中的路径时出错
在我的桌子wp_commeentmeta
,我使用的语法:
UPDATE table SET meta_value = REPLACE(meta_value, 'http://articles.mydomain.com', 'http://localhost/articles')
,但我得到了以下错误:
,#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table SET meta_value = REPLACE(meta_value, 'http://articles.mydomain.com', 'http' at line 1
任何帮助这个好吗?
请注意:我为此使用了phpMyAdmin。
谢谢@Simon那果然奏效。 – 2012-02-24 14:00:38