title: Trigger to insert in another database in Mysql
body: <p>I am new to Mysql, just trying to understand and learn more. I am trying to write on a table in another database by using a trigger. With the code below i am getting an error which i wonder why. 
  practice and practice_2 are my two databases where person and check are the two tables. 
  Any help would be appreciated. </p>
  
  <pre><code>CREATE DEFINER = CURRENT_USER TRIGGER `practice`.`person` BEFORE INSERT ON `person` FOR EACH ROW
  BEGIN
  INSERT INTO `practice_2`.check (id,`name`,`surname`) VALUES (NEW.d)
  END
  </code></pre>