From owner-freebsd-ports-bugs@freebsd.org Sun Feb 10 21:09:35 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33DB414DCA8E for ; Sun, 10 Feb 2019 21:09:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A261F6BD13 for ; Sun, 10 Feb 2019 21:09:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5C26114DCA8D; Sun, 10 Feb 2019 21:09:34 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3754714DCA8C for ; Sun, 10 Feb 2019 21:09:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6BE56BD07 for ; Sun, 10 Feb 2019 21:09:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DD4BB161A7 for ; Sun, 10 Feb 2019 21:09:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1AL9Wh2062485 for ; Sun, 10 Feb 2019 21:09:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1AL9WXL062476 for ports-bugs@FreeBSD.org; Sun, 10 Feb 2019 21:09:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235654] databases/mariadb103-client installed mytop does not work with ~/.my.cnf Date: Sun, 10 Feb 2019 21:09:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: 000.fbsd@quip.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brnrd@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 21:09:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235654 Bug ID: 235654 Summary: databases/mariadb103-client installed mytop does not work with ~/.my.cnf Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: brnrd@freebsd.org Reporter: 000.fbsd@quip.cz Flags: maintainer-feedback?(brnrd@freebsd.org) Assignee: brnrd@freebsd.org Previously the "mytop" was standalone port. I upgraded MariaDB 10.1 to 10.3 which is conflicting with installed "mytop". Original "mytop" was removed a= nd "mytop" from mariadb103-client package does not work if user has ~/my.cnf w= ith stored password for different user (login) than should be used with "mytop". "mytop" should read its options from ~/.mytop file where I have all the opt= ions specified user=3Dmytop pass=3DSomeStrongPasswordHere host=3Dlocalhost db=3Dmysql delay=3D3 port=3D3306 socket=3D/tmp/mysql.sock batchmode=3D0 header=3D1 color=3D1 idle=3D1 resolve=3D1 But when I run "mytop" I got these error: Cannot connect to MariaDB server. Please check the: * database you specified "mysql" (default is "test") * username you specified "mytop" (default is "root") * password you specified "AnotherPassword" (default is "") * hostname you specified "localhost" (default is "localhost") * port you specified "3306" (default is 3306) * socket you specified "/tmp/mysql.sock" (default is "") The options my be specified on the command-line or in a ~/.mytop config file. See the manual (perldoc mytop) for details. Here's the exact error from DBI. It might help you debug:' Access denied for user 'mytop'@'localhost' (using password: YES) Where "AnotherPassword" is the password read from ~/.my.cnf which is passwo= rd for my currently logged user and not password for user "mytop" under which "mytop" should run. It worked for me for the last 10+ years with standalone "mytop" but does not work anymore. The next problem is that "mytop" has dependencies on some Perl libraries but they are not specified in the mariadb103-client package. (all are installed= in my case) --=20 You are receiving this mail because: You are the assignee for the bug.=