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 '(, , ) VALUES ('460ddad138857c4d832fb49e4052c67a', 0, '1553255970')' at line 2 SQL=INSERT INTO (, , ) VALUES ('460ddad138857c4d832fb49e4052c67a', 0, '1553255970')