I Use simple sql query to save some date to database.
mysql column:
current_date` date DEFAULT NULL,
But when executed query show Error:
insert into
computers
(computer_name, current_date, ip_address, user_id)
values
('Default_22', '2012-01-01', null, 37);
[2016-03-22 12:21:46] [42000][1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date, ip_address, user_id)