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