Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 680318

Summary: dev-db/mariadb-10.2.22-r1 - mysqlbinlog: unknown variable 'default-character-set=utf8'
Product: Gentoo Linux Reporter: Tomáš Mózes <hydrapolic>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=676898
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomáš Mózes 2019-03-14 12:04:56 UTC
# mysqlbinlog 
mysqlbinlog: unknown variable 'default-character-set=utf8'

It's defined in /etc/mysql/mariadb.d/50-distro-client.cnf. If removed, mysqlbinlog works fine.

dev-db/mariadb-10.2.22-r1::gentoo was built with the following:
USE="backup innodb-lz4 innodb-lzo innodb-snappy pam perl server -bindist (-client-libs) -cracklib -debug -extraengine -galera -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -systemd -systemtap -tcmalloc -test -tokudb -xml -yassl" ABI_X86="(64)"
CFLAGS="-mtune=native -O2 -pipe -frecord-gcc-switches -fno-strict-aliasing"
CXXFLAGS="-mtune=native -O2 -pipe -frecord-gcc-switches -felide-constructors -fno-strict-aliasing"
Comment 1 Larry the Git Cow gentoo-dev 2019-03-14 13:58:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccdea33765f7ff11b70a019e2cfd145d5c92b8b

commit 8ccdea33765f7ff11b70a019e2cfd145d5c92b8b
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-03-14 13:51:20 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-03-14 13:51:20 +0000

    dev-db/mariadb: Fix config variable that could stop mysqldump
    
    Make the option loose such that those that use it will and ignored by others
    
    Closes: https://bugs.gentoo.org/680318
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mariadb/files/my.cnf.distro-client | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Tomáš Mózes 2019-03-14 14:41:48 UTC
Thanks