mysql> SELECT id, domain_id, name FROM records WHERE name='herbie' SELECT id, domain_id, name FROM records WHERE name='herbie'; ERROR 1064 (42000): 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 'SELECT id, domain_id, name FROM records WHERE name='herbie'' at line 1 mysql>