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