CONSTRAINTis a keyword that tells MySQL that you want to add a constraint. [symbol]is an optional name for the restriction. You can name it whatever you want. If you omit this name, MySQL will generate the name on its own, internally.
It's good to use a prefix fklike fk_something.
If you cancel the restriction, you will need this symbol name:
ALTER TABLE tbl_name DROP FOREIGN KEY fk_something;
, SHOW CREATE TABLE:
SHOW CREATE TABLE tbl_name;
. , CONSTRAINT, (, , ).
MySQL.