Skip to main content

MariaDB max_statement_time

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  Are you not able to add this to the main /etc/my.cnf and then restart the MariaDB service?

    0
  • JAB Creations

    It only worked on Windows as part of the command line, I couldn't determine how to get it working from the configuration file and the documentation is completely lacking on the configuration file. I trust configuration files because they last, Windows installs, not so much. I'm not a Linux administrator hence why I'm asking here.

    0
  • cPRex Jurassic Moderator

    You would want to open /etc/my.cnf with a text editor and add the following line:

    max_statement_time=##

    where the "##" is the seconds you want the value configured for.  Then you'd restart the database service with this command:

    /scripts/restartsrv_mysql

    and the value should be live at that point.  Let me know how it goes!

    0

Please sign in to leave a comment.