Created
March 9, 2016 09:11
-
-
Save bliz937/0d1be04966e5f1c7df4a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%s'" | |
If your query has one value that you're passing through, say, idVal, then add a comma in the tupple. | |
Ex | |
cursor.execute(query, (idVal,)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment