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