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