Skip to main content

disable mysql strict mode per cagefs user

Comments

3 comments

  • GOT
    Given the way mysql works, I don't think that would ever be possible. Until/if mysql starts supporting different config files for different users and really, mysql is not even directly aware what system user is making a query outside of the mysql user itself. Its not really terrible to disable strict mode server wide. Its not a security issue.
    0
  • cPanelLauren
    I do not believe that is possible still, and agree with @GOT, its unlikely that it would ever possible based on the way MySQL functions. You might want to check in with the folks at CloudLinux to confirm though, you can do that in their forums here: CloudLinux - Main | New template
    0
  • MichaelLoungeIT
    isnt this possible with cagefs? so far every cagefs user has its own my.cnf but this settings doenst seem to have any effect? as an example.. there is a file in /var/cagefs/xx/username/etc/my.cnf i'd like to turn off innodb_strict_mode only for one client, and not serverwide
    0

Please sign in to leave a comment.