Search
 
SCRIPT & CODE EXAMPLE
 

SQL

MySQL - Enabling the Event Scheduler

MySQL - Enabling the Event Scheduler
mysql -u root -p
SET GLOBAL event_scheduler = ON;
SHOW VARIABLES WHERE VARIABLE_NAME = 'event_scheduler';
+-----------------+-------+
| Variable_name   | Value |
+-----------------+-------+
| event_scheduler | ON    |
+-----------------+-------+
To permanently enable the MySQL scheduler, you need to edit the configuration file named: mysqld.cnf
nano /etc/mysql/mysql.conf.d/mysqld.cnf
Add the following line under the Mysqld area.
event_scheduler = on
Here is our configuration.
[mysqld]
event_scheduler = on
Restart the MySQL service.
service mysql restart
In our example, we enabled the MySQL scheduler permanently.
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle compile whole schema 
Sql :: netstat -tln mysql 
Sql :: oracle check table space 
Sql :: how to update an attribute in MySQL 
Sql :: bulk kill mysql processlist 
Sql :: MySql get fields of table 
Sql :: how to backup mysql database linux 
Sql :: sql server find all foreign keys that reference a column 
Sql :: update mysql centos 
Sql :: psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" f 
Sql :: set sequence value oracle 
Sql :: delete a view sql 
Sql :: oracle sql query to make column data uppercase 
Sql :: mysql id reset 
Sql :: check mysql timezone 
Sql :: sql headers delphi 
Sql :: snowflake alter column data type 
Sql :: error code 1292 mysql workbench 
Sql :: sql change password wordpress 
Sql :: grant all privileges mysql 8.0.21 
Sql :: How to select the nth row in a SQL database table? 
Sql :: moodle query first user access 
Sql :: tsql rename table 
Sql :: mysql return if it contains 
Sql :: how to get table structure in sql server 
Sql :: select count from table mysql 
Sql :: replace null with 0 in sql 
Sql :: get last record in sql 
Sql :: group_concat order by 
Sql :: sql to char 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =