FreeBSD Bugzilla – Attachment 170407 Details for
Bug 209579
databases/mysql57-server, databases/mysql57-client: Make my.cnf path correct according to hier(7) and last upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
better inform users about new default location for my.cnf
bug209579_2.diff (text/plain), 3.13 KB, created by
Markus Kohlmeyer
on 2016-05-17 14:22:48 UTC
(
hide
)
Description:
better inform users about new default location for my.cnf
Filename:
MIME Type:
Creator:
Markus Kohlmeyer
Created:
2016-05-17 14:22:48 UTC
Size:
3.13 KB
patch
obsolete
>diff -Naur UPDATING UPDATING >--- UPDATING 2016-05-17 14:02:17.527385000 +0200 >+++ UPDATING 2016-05-17 14:44:07.167788000 +0200 >@@ -5,6 +5,15 @@ > You should get into the habit of checking this file for changes each time > you update your ports collection, before attempting any port upgrades. > >+20160517: >+ AFFECTS: users of databases/mysql57-(server|client) >+ AUTHOR: rootservice@gmail.com >+ >+ Please keep in mind that the default location for my.cnf has been changed >+ to "/usr/local/etc/mysql/my.cnf". If you do not want to move your existing >+ my.cnf to the new location, you must set "mysql_optfile" in /etc/rc.conf >+ to the location of your my.cnf before (re)starting MySQL. >+ > 20160511: > AFFECTS: Users of audio/clementine-player > AUTHOR: sbruno@FreeBSD.org >diff -Naur databases/mysql57-server/files/mysql-server.in databases/mysql57-server/files/mysql-server.in >--- databases/mysql57-server/files/mysql-server.in 2016-05-17 14:03:26.592663000 +0200 >+++ databases/mysql57-server/files/mysql-server.in 2016-05-17 14:21:04.067596000 +0200 >@@ -62,12 +62,20 @@ > > mysql_prestart() > { >+ if [ -f "/usr/local/etc/my.cnf" ]; then >+ echo "" >+ echo "Please keep in mind that the default location for my.cnf has been changed" >+ echo "to \"/usr/local/etc/mysql/my.cnf\". If you do not want to move your existing" >+ echo "my.cnf to the new location, you must set "mysql_optfile" in /etc/rc.conf" >+ echo "to the location of your my.cnf before (re)starting MySQL." >+ echo "" >+ fi > if [ -f "${mysql_dbdir}/my.cnf" ]; then > echo "" >- echo "Please keep in mind that the default location for my.cnf will be changed" >- echo "from \"%%MY_DBDIR%%/my.cnf\" to \"%%ETCDIR%%/my.cnf\" in the near" >- echo "future. If you do not want to move your my.cnf to the new location then" >- echo "you must set \"mysql_optfile\" in /etc/rc.conf to \"/var/db/mysql/my.cnf\"." >+ echo "Please keep in mind that the default location for my.cnf has been changed" >+ echo "to \"/usr/local/etc/mysql/my.cnf\". If you do not want to move your existing" >+ echo "my.cnf to the new location, you must set "mysql_optfile" in /etc/rc.conf" >+ echo "to the location of your my.cnf before (re)starting MySQL." > echo "" > fi > >diff -Naur databases/mysql57-server/pkg-message databases/mysql57-server/pkg-message >--- databases/mysql57-server/pkg-message 2016-05-17 14:03:26.612923000 +0200 >+++ databases/mysql57-server/pkg-message 2016-05-17 14:18:33.179428000 +0200 >@@ -11,9 +11,9 @@ > > ***************************************************************************** > >-Please keep in mind that the default location for my.cnf will be changed >-from "/var/db/mysql/my.cnf" to "/usr/local/etc/mysql/my.cnf" in the near >-future. If you do not want to move your my.cnf to the new location then >-you must set "mysql_optfile" in /etc/rc.conf to "/var/db/mysql/my.cnf". >+Please keep in mind that the default location for my.cnf has been changed >+to "/usr/local/etc/mysql/my.cnf". If you do not want to move your existing >+my.cnf to the new location, you must set "mysql_optfile" in /etc/rc.conf >+to the location of your my.cnf before (re)starting MySQL. > > *****************************************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209579
:
170407
|
170408
|
170417
|
170435
|
170441
|
171791
|
172081
|
172100