How to stop logging to MySQL

I am running the latest version and years ago i modified something to have the flights logged to a separate mysql server. I cannot seem to find how i did that, or how to turn it off now.

I am not using the most recent script for logging to mysql i did the changes long before that came out.

Can anyone help me with turing off the logging function.

Multiple options, you can locate files/programs using sudo find / -name whateveryouarelookingfor. Use man find to see all hundred options for find. Has to be run as root to get reliable results.

  1. locate mysql program, cd to the location and use sudo mv mysql mysql.bak. Basically rename the executable, though the OS will complain.

  2. Keep looking for the mysql code. If it is running automatically, check out the /etc folder and look into the rc folders, rc0, rc1, rc2, etc. each run tasks depending on which stage the boot or shutdown is at.

  3. Most reliable, save your site ID and just reimage your system with the latest and greatest from RaspberryPi or Flightaware. Note, if you are feeding lots of sites and running extra stuff like pihole, then the other two options might be easier. To be safe, use a spare MicroSD card for reimaging, to have a easy fall back option. Good luck, you got this.

1 Like