Would I have any issues if I disable binlogs in mysql?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fsuarezj
    Junior Member
    • Sep 2022
    • 2

    Would I have any issues if I disable binlogs in mysql?

    We are running EspoCRM in a production environment from the docker script installation, but we are running out of disk space due to the size of the binlog files in the MySQL container. One easy solution would be to disable_log_bin.
    Anyone has experience with that? Will it affect our EspoCRM instance?

    Thank you very much.​
  • Vadym
    Super Moderator
    • Jun 2021
    • 345

    #2
    Hi fsuarezj,

    Perhaps this thread will be helpful:
    https://gist.github.com/tiagocardoso...400e2c60909c43
    Last edited by Vadym; 09-27-2022, 08:32 AM.

    Comment

    • fsuarezj
      Junior Member
      • Sep 2022
      • 2

      #3
      Thx Vadym

      Yes I saw it, I was just reluctant not knowing if it would have any other implications for EspoCRM to remove old logs, but I guess it's not using them, right?

      Comment

      • Vadym
        Super Moderator
        • Jun 2021
        • 345

        #4
        Hi fsuarezj,

        You can delete EspoCRM error logs without any problems. But before changing the MySQL settings, we recommend making a backup of your EspoCRM instance:
        https://docs.espocrm.com/administrat...-with-a-script

        Comment

        Working...