wordpress wp_posts table insert failure

I have a interesting project, which will try to insert multiple forum topic in WordPress database by coding. One question is, inside the wp_posts table, I try to insert a large chunk of HTML code into post_content column, but it always failed.
I tried it through the Java code, phpMyAdmin, and MySQL Workbench, all of those methods failed, most time, it give me the error code 1064. Like this

Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server ……

One hint, the HTML code may has some eastern asian characters.

Does anyone has any idea, how I can solve this problem.

Read more here: wordpress wp_posts table insert failure

Leave a Reply

Your email address will not be published. Required fields are marked *