@jaceklubzinski opened this Issue on March 23rd 2016

We have many archiving processes and don't want to change the global parameters only if one of the archiving needs this.
Generally it is not a good practice to change some variables globally e.g. http://piwik.org/faq/troubleshooting/faq_183/

@tsteur commented on March 29th 2016 Owner

Can you explain the issue in more details? I'm not sure which mysql params you mean etc. And how would you like to set and use them?

@quba commented on March 29th 2016 Contributor

E.g. wait_timeout. I presume that @jaceklubzinski wants to be able to set some mysql variables via core:archive param.

@tsteur commented on March 29th 2016 Owner

Similar to php-cli-options and we would do something like $this->_connection->query("SET foobarparam = $foobarvalue"); whenever we create database connection?

@jaceklubzinski commented on March 30th 2016

Exactly what we want. Set database dynamic parameter like wait_timeout and max_allowed_packet as session parameter each time we create new database connection.

Powered by GitHub Issue Mirror