Guest User

Untitled

a guest
May 22nd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. Welcome to the MySQL monitor. Commands end with ; or \g.
  2. Your MySQL connection id is 6992
  3. Server version: 5.1.57-log SUSE MySQL RPM
  4.  
  5. Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  6. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  7. and you are welcome to modify and redistribute it under the GPL v2 license
  8.  
  9. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  10.  
  11. mysql> CREATE TRIGGER Syslog_SystemEvents_message BEFORE INSERT ON `SystemEvents`
  12. -> FOR EACH ROW BEGIN
  13. -> SET NEW.checksum = crc32(NEW.message);
  14. ERROR 1064 (42000): 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 3
Add Comment
Please, Sign In to add comment