Skip to content

Fix tests on newer servers: "You do not have the SUPER privilege and binary logging is enabled" #112

Open
@Abscissa

Description

@Abscissa

On a default install of a newer version of mariadb (10.1.24 in my case), running the tests results in:

mysql.exceptions.MySQLReceivedException@source/mysql/commands.d(104): MySQL error: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

This can be worked around by doing SET GLOBAL log_bin_trust_function_creators = 1; on the db server, however, if at all possible, mysql-native should be fixed so that isn't required.

More info: https://dev.mysql.com/doc/refman/5.7/en/stored-programs-logging.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions