2015-09-02 155 views
0

我試圖將我的博客導出到Yola並遷移到WordPress,但我遇到了一些麻煩。 Yola不允許你導出你的帖子,但是經過大量的在線挖掘(How to convert .db file to .sql file),我能夠弄清楚如何將我的帖子下載爲.db文件。將.db文件導入到mySQL

經過更多在線挖掘,我可以使用名爲Valentina Studio的程序將其轉換爲.sql文件。

當我嘗試導入該文件到MySQL我得到這個錯誤:

SQL query:

INSERT INTO "BlogPostBlogTag"( "tagId", "postId") VALUES (

'8a49866b2d872c90012d9bb4a6bf4767', '8a4986c9436bcaa201436c2df939023f' );

MySQL said: Documentation

.#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 '"BlogPostBlogTag"("tagId","postId") VALUES ('8a49866b2d872c90012d9bb4a6bf4767',' at line 1

會有人對文件成功導入到MySQL有什麼建議?

回答

0

一個報價試試這個:

INSERT INTO 'BlogPostBlogTag'('tagId','postId') 
    VALUES ( 
    '8a49866b2d872c90012d9bb4a6bf4767', 
    '8a4986c9436bcaa201436c2df939023f' 
    );