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