title: Problems creating TRIGGER in MySQL
body: <p>I am first time using trigger concept in my MYSQL workbench like below query,</p>
  
  <p>First I created <strong>people</strong> table by using below query,</p>
  
  <pre><code>CREATE TABLE people (age INT, name varchar(150));
  </code></pre>
  
  <p>Then I used below query for trigger</p>
  
  <pre><code>DELIMITER 
  CREATE TRIGGER agecheck BEFORE INSERT ON raptor1_5.people FOR EACH ROW IF NEW.age &lt; 0 THEN SET NEW.age = 0; END IF;
  
  DELIMITER ;
  </code></pre>
  
  <p>But <strong>agecheck</strong> trigger not creating to <strong>people</strong> table. Its does not show any error message when I run this query.</p>
  
  <p>Here is my table images,</p>
  
  <p><img src="https://i.stack.imgur.com/7IqnH.png" alt="enter image description here"></p>
  
  <p>Updated :  based on the answer</p>
  
  <p><img src="https://i.stack.imgur.com/sqnwd.png" alt="enter image description here"></p>