Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-7574

MySQL wont start after power loss

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FreePBX Distro
    • Labels:
      None
    • ToDo:

      Description

      We need to create a simple init script that will remove mysql.lock on start if it exist and have it run before MySQL starts.

      Reason is newer MySQL look to see if lock file exist and if they exist it wont start MySQL instead of removing the lock file. What should happen is make sure the service is not running and if not running remove the lock file.

      This script needs to have a run level before MySQL starts.

        Gliffy Diagrams

          Attachments

          1. mysql_cleaner
            0.3 kB
          2. mysqlfix.conf
            0.2 kB

            Activity

              People

              • Assignee:
                tonyclewis Tony Lewis
                Reporter:
                tonyclewis Tony Lewis
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.