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