title: Unexpected END_OF_INPUT in MySQL trigger
body: <p>I have searched for all the possible online solutions but I can't figure out the error in this trigger.</p>
  
  <pre><code>    CREATE TRIGGER `delete_neat_link`
      AFTER DELETE ON `neat_urls`
      FOR EACH ROW 
      BEGIN
          DELETE FROM `css_paths` 
              WHERE `css_paths`.`path_id` = OLD.`neat_link`;
      END;
  </code></pre>
  
  <p>the first error appears at <strong>OLD.<code>neat_link</code></strong></p>
  
  <pre><code>    syntax error, unexpected END_OF_INPUT, expecting ';'
  </code></pre>
  
  <p>and the second one at <strong>END;</strong></p>
  
  <pre><code>    syntax error, unexpected END
  </code></pre>
  
  <p>Any help would be appreciable, thanks.</p>