|
Preconditions: MariaDB 10.3.15 is installed from box.
Only information_schema, mysql and performance_schema are available after installation. No user databases are present.
All actions are performed with the user root.
Steps to reproduce:
1. Run the command line and execute the command:
"C:\Program Files\MariaDB 10.3\bin\mysql.exe" -u root -proot
2. Execute the script (see attachment) with the command: source D:/Script.sql
After the script is executed, the db1 database will be created
3. Execute two queries through the MySQL console
SELECT ACTION_STATEMENT FROM information_schema.triggers WHERE TRIGGER_SCHEMA = 'db1';
|
SHOW CREATE TRIGGER db1.trigger1;
|
4. The result is shown on the screenshot :
|