Navicat for mysql executes sql and reports an error, only because there are semicolons and pound signs

Environment: Navicat Premium 11.1, Mysql database
sql statement:
insert into `services_log`(`id`,`autorkey`,`remote_addr`,`service_name`,`params`,`create_date`,`remarks`) values
('003b5b29ad924a7b92a4344e4d3c5','248ecc19d9db4c9087a0556ec57b0','/183.146.254.29:53040|838','shtmp-check-socket',
'
#
;','2016-01-23 07:22:25',null)


Error message:
quote

[Err] 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 ''
#' at line 3


Conclusion:
There is no problem under the cmd command, "#", ";" in the value of the params column will not cause problems, or # is not at the beginning of the line, it should be a software problem

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326926150&siteId=291194637