Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Mysql Repair Cron

forums forums SQLyog Using SQLyog Mysql Repair Cron

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #20469
      peterlaursen
      Participant

      You can use a SJA 'Notifications Service' Job for this.

      Just execute a statement like

      Code:
      repair  table `test`.`t1`;

      with that 'Notifications Job' and schedule that job with CRON.

      Further you can repair manually from SQLyog .. tools .. table diagnostics. When it is done like this you can copy the SQL to use with SJA from the HISTORY pane.

    • #20470
      peterlaursen
      Participant

      But maybe it was better to find the reason for that corruption and eliminate that reason? Such corruption probably is corruption of indexes. Corrupted indexes could lead to corruption of data themselves.

      Appropriate use of LOCK's, FLUSH's etc. with the scripts could be the way out …

      And you could insert a Check table tablename in the scripts and 'pick up' the server response (variable 'Msg_text'). If it is not 'OK' then you found the place where things start to go wrong.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.