Bug 225696 - databases/mysql56-server - misleading pkg-message about .mysql_secret file
Summary: databases/mysql56-server - misleading pkg-message about .mysql_secret file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mahdi Mokhtari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 21:24 UTC by knezour
Modified: 2018-02-06 13:11 UTC (History)
0 users

See Also:
mmokhi: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description knezour 2018-02-05 21:24:39 UTC
After installation of the package pkg-message is shown, stating besides other

Initial password for first time use of MySQL is saved in $HOME/.mysql_secret
ie. when you want to use "mysql -u root -p" first you should see password
in /root/.mysql_secret

however this file doesn't exists and root user can log into DB without password.

Fresh 11.1 installation, uname -a
FreeBSD machine-name 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

mysql56-server-5.6.39
Comment 1 Mahdi Mokhtari freebsd_committer freebsd_triage 2018-02-06 12:04:09 UTC
(In reply to knezour from comment #0)
Hi,
Thanks and you are right, it seems has been deprecated/deleted by upstream.
I'll update pkg-message.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-02-06 13:09:59 UTC
A commit references this bug:

Author: mmokhi
Date: Tue Feb  6 13:09:42 UTC 2018
New revision: 461040
URL: https://svnweb.freebsd.org/changeset/ports/461040

Log:
  databases/mysql56-server: Fix misleading part of pkg-message.
  Part of the pkg-message points about .mysql_secret file which
  isn't case about new mysql56 release anymore.
  Delete no-more-valid part.
  (The case still is a thing for 57 and 80)

  PR:		225696
  Reported by:	knezour@weboutsourcing.cz
  Sponsored by:	Netzkommune GmbH

Changes:
  head/databases/mysql56-server/pkg-message
Comment 3 Mahdi Mokhtari freebsd_committer freebsd_triage 2018-02-06 13:11:03 UTC
Committed.
Thanks.