Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676898 - dev-db/mysql-5.7.24 mysqlbinlog: [ERROR] unknown variable 'default-character-set=utf8'
Summary: dev-db/mysql-5.7.24 mysqlbinlog: [ERROR] unknown variable 'default-character-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-30 10:12 UTC by Pavel Riha
Modified: 2019-03-14 13:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Riha 2019-01-30 10:12:35 UTC
mysqlbinlog not working, because of the default-character-set option in [client] section in 
/etc/mysql/mysql.d/50-distro-client.cnf 


best(?) fix could be to use the loose- prefix

[client]
loose-default-character-set=utf8 




Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2019-03-14 13:58:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e4f96f50b840f76e74385d5d63479378ecf252

commit 11e4f96f50b840f76e74385d5d63479378ecf252
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-03-14 13:56:13 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-03-14 13:56:13 +0000

    dev-db/mysql: Fix config variable that can block mysqlbinlog
    
    Make it loose so programs that use it will and ignored by those that don't
    
    Closes: https://bugs.gentoo.org/676898
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mysql/files/my.cnf.distro-client | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)