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