From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 943D058973 for ; Sun, 7 Feb 2016 20:30:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63D8B21C01D; Sun, 7 Feb 2016 20:29:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A73821C01D for ; Sun, 7 Feb 2016 20:29:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD9EF3408EA for ; Sun, 7 Feb 2016 20:29:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE6EA8EE for ; Sun, 7 Feb 2016 20:29:52 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1454876976.8c240ee6acb0a20ebb9bea19548c42f18d2ded55.grknight@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: eclass/ X-VCS-Repository: proj/mysql X-VCS-Files: eclass/mysql-multilib-r1.eclass eclass/mysql-multilib.eclass eclass/mysql-v2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 8c240ee6acb0a20ebb9bea19548c42f18d2ded55 X-VCS-Branch: master Date: Sun, 7 Feb 2016 20:29:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 51ab1fa3-32be-4ff6-9c52-b87aea5c6c56 X-Archives-Hash: fdf963d80b25b1108530fb111686663d commit: 8c240ee6acb0a20ebb9bea19548c42f18d2ded55 Author: Brian Evans gentoo org> AuthorDate: Sun Feb 7 20:29:36 2016 +0000 Commit: Brian Evans gentoo org> CommitDate: Sun Feb 7 20:29:36 2016 +0000 URL: https://gitweb.gentoo.org/proj/mysql.git/commit/?id=8c240ee6 Add FLUSH PRIVILEGES to the pkg_config after setting the root password eclass/mysql-multilib-r1.eclass | 2 +- eclass/mysql-multilib.eclass | 2 +- eclass/mysql-v2.eclass | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/mysql-multilib-r1.eclass b/eclass/mysql-multilib-r1.eclass index e14a2a8..1512b21 100644 --- a/eclass/mysql-multilib-r1.eclass +++ b/eclass/mysql-multilib-r1.eclass @@ -952,7 +952,7 @@ mysql-multilib-r1_pkg_config() { ebegin "Setting root password" # Do this from memory, as we don't want clear text passwords in temp files - local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'" + local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'; FLUSH PRIVILEGES" "${EROOT}/usr/bin/mysql" \ --socket=${socket} \ -hlocalhost \ diff --git a/eclass/mysql-multilib.eclass b/eclass/mysql-multilib.eclass index 0016e76..a8cac37 100644 --- a/eclass/mysql-multilib.eclass +++ b/eclass/mysql-multilib.eclass @@ -1144,7 +1144,7 @@ mysql-multilib_pkg_config() { ebegin "Setting root password" # Do this from memory, as we don't want clear text passwords in temp files - local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'" + local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'; FLUSH PRIVILEGES" "${EROOT}/usr/bin/mysql" \ --socket=${socket} \ -hlocalhost \ diff --git a/eclass/mysql-v2.eclass b/eclass/mysql-v2.eclass index c654374..2ca4f7f 100644 --- a/eclass/mysql-v2.eclass +++ b/eclass/mysql-v2.eclass @@ -895,7 +895,7 @@ mysql-v2_pkg_config() { ebegin "Setting root password" # Do this from memory, as we don't want clear text passwords in temp files - local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'" + local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'; FLUSH PRIVILEGES" "${EROOT}/usr/bin/mysql" \ --socket=${socket} \ -hlocalhost \