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