title: is it possible when sql query works perfectly ok in mysqlworkbench but throw sytax error in intellij
body: <p>this is my sql query. it works perfectly ok in mysqlworkbench but throw sytax error in intellij..</p>
  <p>is it often happen?
  if so, i can i fix it?</p>
  <p>plz help me to solve this problem..!!</p>
  <p>it is about user table.
  and when without PROCEDURE data saved in repository..!!</p>
  <pre><code>DELIMITER $$
  DROP PROCEDURE IF EXISTS whileProc;
  CREATE PROCEDURE whileProc()
  BEGIN
  
  SET  @i = 0;
  
  WHILE (@i &lt; 10) DO
          insert into  user (
                          email,
                          uuid,
                          location_id,
                          provider,
                          profile_img,
                          profile_intro,
                          phone,
                          birth,
                          username,
                          university,
                          created_at,
                          updated_at,
                          last_logined,
                          is_active,
                          is_blocked,
                          is_university
                      )
                      values(
                          &quot;email&quot;,
                          &quot;uuid&quot;,
                          &quot;locationId&quot;,
                          &quot;provider&quot;,
                          &quot;profileImg&quot;,
                          &quot;profileIntro&quot;,
                          &quot;phone&quot;,
                          now(),
                          CAST(@i as CHAR),
                          &quot;university&quot;,
                          now(),
                          now(),
                          now(),
                          TRUE,
                          FALSE,
                          FALSE
                      );
          SET @i = @i+1;
  END WHILE;
  END $$
  DELIMITER ;
  CALL whileProc();
  </code></pre>