title: How to alter INFORMATION_SCHEMA or add triggers or foreign keys to it?
body: <p>I'm trying to create some meta-data to extend mysql functionality but I can't create tables in the database INFORMATION_SCHEMA. I thought that I could just create another database and have my metadata in there but I need some foreign keys from my tables to some tables in the INFORMATION_SCHEMA DB. Nevertheless, I get errors when trying to create them. Then I thought I could create a trigger to get notified of changes but since triggers are associated to a table and I can't alter that database, I can't create triggers either.</p>
  
  <p>Specifically I have some tables that references to <code>information_schema.schemata(schema_name)</code> and to <code>information_schema.schemata(columns)</code> and some others. I want to have those foreign key so I can use <code>ON UPDATE CASCADE ON DELETE CASCADE</code> or otherwise I'll have some rows in my tables referencing to nothing and I can't allow that.</p>
  
  <p>I'm using mariaDB 5.5.30 which uses MySql 5.3.</p>