元のクエリは次のとおりです。
UPDATE `test`.`documents` SET `title` = ‘测试中文’, `content` = ‘this is my test document number two,应该搜的到吧’ WHERE `documents`.`id` = 2;
その結果:
#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 'my test document number two,应该æ
間違って変えました'
UPDATE 'test'.'documents' SET 'title' = '测试中文', 'content' = 'this is my test document number two,应该搜的到吧' WHERE 'documents'.'id' = 2;
そして得た:
#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 ''test'.'documents' SET 'title' = 'æµ‹è¯•ä¸æ–‡', 'content' = 'this is my test do' at line 1
my.ini を設定するにはどうすればよいですか?
XAMPP Lite と MySQL バージョン 5.1.37 を使用しました。