I keep getting this error:
MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server vers
Sometimes when your table has a similar name to the database name you should use back tick. so instead of:
INSERT INTO books.book(field1, field2) VALUES ('value1', 'value2');
You should have this:
INSERT INTO `books`.`book`(`field1`, `field2`) VALUES ('value1', 'value2');