title: DataGrip and MySql Workbench Differ on Validness of a Stored Procedure
body: <p>Datagrip says and runs the following procedure perfectly in mysql, however the mysql command line and workbench say that there is a syntax error in my sql. Why is this?</p>
  
  <pre><code>CREATE PROCEDURE addTag(n VARCHAR(255), d VARCHAR(255))
    BEGIN
      INSERT INTO Tags(name, description) VALUES
        (n, d);
    END;
  </code></pre>
  
  <p>Here's how mysql workbench shows it:</p>
  
  <p><a href="https://i.stack.imgur.com/6W7AO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6W7AO.png" alt="mysql workbench error underline"></a></p>
  
  <p>The action and error output is reproduced below.</p>
  
  <p>CREATE PROCEDURE addTag(n VARCHAR(255), d VARCHAR(255))   BEGIN     INSERT INTO Tags(name, description) VALUES       (n, d)</p>
  
  <p>Error Code: 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 '' at line 4</p>