python - Unable to load data with quotes in mysql -
i need load string contains quotes given below..the data being loaded using mysqldb python package...
value = " leading epic "zero year." "
error
_mysql_exceptions.programmingerror: (1064, 'you have error in sql syntax; check manual corresponds mysql server version right syntax use near \'zero year.""
how can load strings contain quotes within it...
have tried using escape character, i.e. " leading epic \"zero year.\" "
Comments
Post a Comment