If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySql Event scheduler should be ON Permanently

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-13-11, 05:31
Charche Charche is offline
Registered User
 
Join Date: Jul 2011
Posts: 1
MySql Event scheduler should be ON Permanently

Hi,
I want, event scheduler to be ON always. In the net I found the solution(Procedure).

As they told, to write event_scheduler=on somewhere under the [mysqld] section in the default mysql config file, usually /etc/my.cnf

First of all I didn't get the file my.conf in my machine(searched the whole machine). After search the whole machine I got my.conf.bak, my.cnf.old and one more file My (File Type is SpeedDial)

So I have added the code (event_scheduler=on) in my.conf.bak file. And I have restarted the Mysql service also.
But still the Event_scheduler is OFF.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 07-13-11, 07:29
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
Are you on Windows or Linux? And what version of MySQL are you running?
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
  #3 (permalink)  
Old 07-13-11, 07:35
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
you may need to stop the MySQL service, then make changes to the config file, then restart the MySQL service. Not saying MySQL does, but some software does write back its configuration on closing.
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #4 (permalink)  
Old 07-28-11, 12:44
Crawfish Crawfish is offline
Registered User
 
Join Date: Jul 2011
Posts: 3
Oh, man. How many times I have found the problem to be a necessary shutdown/reboot!! And, I still scratch my head sometimes before I realize it.

Good advice!
Reply With Quote
Reply

Tags
event, scheduler

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On