How to turn Event Scheduler On permanently in MySQL?MYSQL - Unable to change 'old_passwords' variableMySQL...

What does "don't have a baby" imply or mean in this sentence?

Is there any danger of my neighbor having my wife's signature?

Can a Way of Shadow Monk use Shadow Step to teleport to a dark ceiling and then body slam another creature?

What is an explicit bijection in combinatorics?

Graphical modeler calculator missing in QGIS3

How can I differentiate duration vs starting time

Is there any way to play D&D without a DM?

Isn't a semicolon (';') needed after a function declaration in C++?

How do I purchase a drop bar bike that will be converted to flat bar?

Expression for "unconsciously using words (or accents) used by a person you often talk with or listen to"?

Taking an academic pseudonym?

What could cause an entire planet of humans to become aphasic?

How do I fight with Heavy Armor as a Wizard with Tenser's Transformation?

How to Build a List from Separate Lists

How to make transparent background from pdf to png

Is there a way to pause a running process on Linux systems and resume later?

How can guns be countered by melee combat without raw-ability or exceptional explanations?

How bad is a Computer Science course that doesn't teach Design Patterns?

70s or 80s B-movie about aliens in a family's television, fry the house cat and trap the son inside the TV

How many copper coins fit inside a cubic foot?

What is an efficient way to digitize a family photo collection?

Converting numbers to words - Python

What is the reward?

Have any astronauts or cosmonauts died in space?



How to turn Event Scheduler On permanently in MySQL?


MYSQL - Unable to change 'old_passwords' variableMySQL event scheduler doesn't workmysqld stops right after starting because of corrupted tables (disk full + hardware reboot) - how to fix it?Deleted MySQL “root” user (using phpMyAdmin)…how to restore?How to stop OSX MySQL filling up error logsMySQL Event scheduler not generating CSVCould not connect to the specific instance. MySQL error number 1045. Access denied for user 'root'@'my public ip' (using password:YES)MySQL 5.7.15 turn off strict modeRestart event scheduler and alter event when slave being promoted to masterMySQL consuming too much memory













3















How do I turn on the event scheduler in mysqld permanently? I'm using phpMyAdmin and I have scheduled an event to copy records from one table to another everyday at a specific time, but the records are not being copied everyday. I've tried setting the event scheduler on.



SET GLOBAL event_scheduler="ON"; 


When I restart my pc, the event scheduler is turned off. How do I make it be always on, and not turned off when mysqld is restarted?










share|improve this question





























    3















    How do I turn on the event scheduler in mysqld permanently? I'm using phpMyAdmin and I have scheduled an event to copy records from one table to another everyday at a specific time, but the records are not being copied everyday. I've tried setting the event scheduler on.



    SET GLOBAL event_scheduler="ON"; 


    When I restart my pc, the event scheduler is turned off. How do I make it be always on, and not turned off when mysqld is restarted?










    share|improve this question



























      3












      3








      3








      How do I turn on the event scheduler in mysqld permanently? I'm using phpMyAdmin and I have scheduled an event to copy records from one table to another everyday at a specific time, but the records are not being copied everyday. I've tried setting the event scheduler on.



      SET GLOBAL event_scheduler="ON"; 


      When I restart my pc, the event scheduler is turned off. How do I make it be always on, and not turned off when mysqld is restarted?










      share|improve this question
















      How do I turn on the event scheduler in mysqld permanently? I'm using phpMyAdmin and I have scheduled an event to copy records from one table to another everyday at a specific time, but the records are not being copied everyday. I've tried setting the event scheduler on.



      SET GLOBAL event_scheduler="ON"; 


      When I restart my pc, the event scheduler is turned off. How do I make it be always on, and not turned off when mysqld is restarted?







      mysql mysql-5.5 phpmyadmin event






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 13 '16 at 21:37









      RolandoMySQLDBA

      142k24223379




      142k24223379










      asked Mar 13 '15 at 2:52









      user1930115user1930115

      118113




      118113






















          1 Answer
          1






          active

          oldest

          votes


















          4














          This is quite an easy one really (one of those "Doh" moments :-) ).



          You set it in my.cnf, as described here:



          [mysqld]
          ..
          .. other_stuff
          ..
          event_scheduler=on
          ..
          .. more_stuff
          ..


          From the MySQL documentation here, you have:




          When the Event Scheduler is ON, the event scheduler thread is listed
          in the output of SHOW PROCESSLIST as a daemon process, and its state
          is represented as shown here:




          So, run:



          mysql> SHOW PROCESSLISTG


          and there should be an entry like this:



          *************************** 2. row ***************************
          Id: 2
          User: event_scheduler
          Host: localhost
          db: NULL
          Command: Daemon <<<<<====== Note: Daemon!!!
          Time: 3
          State: Waiting for next activation
          Info: NULL
          2 rows in set (0.00 sec)





          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "182"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f95143%2fhow-to-turn-event-scheduler-on-permanently-in-mysql%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            This is quite an easy one really (one of those "Doh" moments :-) ).



            You set it in my.cnf, as described here:



            [mysqld]
            ..
            .. other_stuff
            ..
            event_scheduler=on
            ..
            .. more_stuff
            ..


            From the MySQL documentation here, you have:




            When the Event Scheduler is ON, the event scheduler thread is listed
            in the output of SHOW PROCESSLIST as a daemon process, and its state
            is represented as shown here:




            So, run:



            mysql> SHOW PROCESSLISTG


            and there should be an entry like this:



            *************************** 2. row ***************************
            Id: 2
            User: event_scheduler
            Host: localhost
            db: NULL
            Command: Daemon <<<<<====== Note: Daemon!!!
            Time: 3
            State: Waiting for next activation
            Info: NULL
            2 rows in set (0.00 sec)





            share|improve this answer






























              4














              This is quite an easy one really (one of those "Doh" moments :-) ).



              You set it in my.cnf, as described here:



              [mysqld]
              ..
              .. other_stuff
              ..
              event_scheduler=on
              ..
              .. more_stuff
              ..


              From the MySQL documentation here, you have:




              When the Event Scheduler is ON, the event scheduler thread is listed
              in the output of SHOW PROCESSLIST as a daemon process, and its state
              is represented as shown here:




              So, run:



              mysql> SHOW PROCESSLISTG


              and there should be an entry like this:



              *************************** 2. row ***************************
              Id: 2
              User: event_scheduler
              Host: localhost
              db: NULL
              Command: Daemon <<<<<====== Note: Daemon!!!
              Time: 3
              State: Waiting for next activation
              Info: NULL
              2 rows in set (0.00 sec)





              share|improve this answer




























                4












                4








                4







                This is quite an easy one really (one of those "Doh" moments :-) ).



                You set it in my.cnf, as described here:



                [mysqld]
                ..
                .. other_stuff
                ..
                event_scheduler=on
                ..
                .. more_stuff
                ..


                From the MySQL documentation here, you have:




                When the Event Scheduler is ON, the event scheduler thread is listed
                in the output of SHOW PROCESSLIST as a daemon process, and its state
                is represented as shown here:




                So, run:



                mysql> SHOW PROCESSLISTG


                and there should be an entry like this:



                *************************** 2. row ***************************
                Id: 2
                User: event_scheduler
                Host: localhost
                db: NULL
                Command: Daemon <<<<<====== Note: Daemon!!!
                Time: 3
                State: Waiting for next activation
                Info: NULL
                2 rows in set (0.00 sec)





                share|improve this answer















                This is quite an easy one really (one of those "Doh" moments :-) ).



                You set it in my.cnf, as described here:



                [mysqld]
                ..
                .. other_stuff
                ..
                event_scheduler=on
                ..
                .. more_stuff
                ..


                From the MySQL documentation here, you have:




                When the Event Scheduler is ON, the event scheduler thread is listed
                in the output of SHOW PROCESSLIST as a daemon process, and its state
                is represented as shown here:




                So, run:



                mysql> SHOW PROCESSLISTG


                and there should be an entry like this:



                *************************** 2. row ***************************
                Id: 2
                User: event_scheduler
                Host: localhost
                db: NULL
                Command: Daemon <<<<<====== Note: Daemon!!!
                Time: 3
                State: Waiting for next activation
                Info: NULL
                2 rows in set (0.00 sec)






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 7 mins ago

























                answered Mar 13 '15 at 3:01









                VéraceVérace

                16.1k33550




                16.1k33550






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Database Administrators Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f95143%2fhow-to-turn-event-scheduler-on-permanently-in-mysql%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

                    Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

                    How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...