Created attachment 547776 [details] mysqld.err logs MySQL failed to configure at fresh install with emerge --config. Reproduced evrytime, tested with V5.6.40-r2 and V5.6.41 on a fresh gentoo install.
Created attachment 547778 [details] emerge --config output added output of emerge --config mysql
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0daa60575ea81e0c514806b3c37c6610a3e4defa commit 0daa60575ea81e0c514806b3c37c6610a3e4defa Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-09-24 17:18:13 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-09-24 17:18:13 +0000 dev-db/mysql: Restore pkg_config options confused from 5.7 5.6.40-r2 and 5.6.41 were back copied from 5.7 Unfortunately pkg_config was not checked and failures occured trying to run it The relevant parts are restored here Bug: https://bugs.gentoo.org/666992 Signed-off-by: Brian Evans <grknight@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.10 dev-db/mysql/mysql-5.6.40-r2.ebuild | 32 ++++++++++++++++++++++++++------ dev-db/mysql/mysql-5.6.41.ebuild | 32 ++++++++++++++++++++++++++------ 2 files changed, 52 insertions(+), 12 deletions(-)
Changes made. Please rebuild the package and then execute --config again (yes it must be rebuilt first). Once you confirm things, this bug can be closed.
Created attachment 547826 [details] config can't set password
Ah, wrong published.. Anyway, thanks for fast correction. Can configure MySQL now, but config seems not being able to set password from config file in homedir correctly anymore. I use a my.cnf file with username / password in it for root user, in his homedir. It's well reading it, but seems have a buggy SQL command. Resulting in an inaccessible instance of mysql if we don't put skip-grant-tables to config to bypass it and put password by hand. please see the previous comment for logs. What did you think about it? separate bug or still relied on? I will join an strace if needed, not able to do it now however. Thanks again for the correction
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabb0e5a81d08b3327fc8813b21f664185cd3964 commit aabb0e5a81d08b3327fc8813b21f664185cd3964 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-09-24 20:36:53 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-09-24 20:37:54 +0000 dev-db/mysql: Fix initial password setting in 5.6 Bug: https://bugs.gentoo.org/666992 Signed-off-by: Brian Evans <grknight@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.10 dev-db/mysql/mysql-5.6.40-r2.ebuild | 2 +- dev-db/mysql/mysql-5.6.41.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)