
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
What are the privileges required to use triggers?
We must have SUPER privileges to create or destroy triggers with the help of a CREATE or DROP statement. Other than that if the triggered statements use OLD or NEW then there are some additional privileges as follows which we require −
- To assign the value of a column with SET NEW.column_name = value then we must have the UPDATE privilege for the column.
- To use NEW.column_name in an expression to refer to the new value of a column, we must have the SELECT privilege for the column.
- Related Articles
- What are the different privileges required for using views?
- What is the use of FLUSH PRIVILEGES statement in MySQL?
- What are TRIGGERS in DB2? What is the difference between TRIGGERS and STORED PROCEDURES?
- What are the minimum MySQL user privileges to allow optimize and repair?
- What are the Skills Required to Learn Salesforce?
- What are the advantages, disadvantages and restrictions of using MySQL triggers?
- What are the conditions required for cyclones to form ?
- What are the conditions required by cotton to grow?
- How to use Boto3 to get the details of multiple triggers at a time?
- Which tables are used to control the privileges of MySQL database server?
- How to use the required attribute in HTML?
- How to use Boto3 to get the list of triggers present in an AWS account
- How can we use SIGNAL statement with MySQL triggers?
- How to use Boto3 to paginate through all triggers present in AWS Glue
- How to get all the MySQL triggers and the triggers for only the current database

Advertisements