View | Details | Raw Unified | Return to bug 250340
Collapse All | Expand All

(-)mysql56-server/Makefile (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME?=	mysql
4
PORTNAME?=	mysql
5
PORTVERSION=	5.6.49
5
PORTVERSION=	5.6.49
6
PORTREVISION?=	0
6
PORTREVISION?=	1
7
CATEGORIES=	databases
7
CATEGORIES=	databases
8
MASTER_SITES=	MYSQL/MySQL-5.6
8
MASTER_SITES=	MYSQL/MySQL-5.6
9
PKGNAMESUFFIX?=	56-server
9
PKGNAMESUFFIX?=	56-server
Lines 87-93 Link Here
87
87
88
USE_RC_SUBR=	mysql-server
88
USE_RC_SUBR=	mysql-server
89
89
90
SUB_FILES=	my.cnf.sample
90
SUB_FILES=	my.cnf.sample pkg-message
91
91
92
USERS=		mysql
92
USERS=		mysql
93
GROUPS=		mysql
93
GROUPS=		mysql
(-)mysql56-server/files/pkg-message.in (+16 lines)
Line 0 Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
Please keep in mind that the default location for my.cnf will be changed
5
from "/var/db/mysql/my.cnf" to "%%ETCDIR%%/my.cnf" in the near
6
future.  If you do not want to move your my.cnf to the new location then
7
you must set "mysql_optfile" in /etc/rc.conf to "/var/db/mysql/my.cnf".
8
EOM
9
}
10
{ type: upgrade
11
  message: <<EOM
12
Remember to run mysql_upgrade the first time you start the MySQL server
13
after an upgrade from an earlier version.
14
EOM
15
}
16
]
(-)mysql56-server/pkg-message (-16 lines)
Lines 1-16 Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
Please keep in mind that the default location for my.cnf will be changed
5
from "/var/db/mysql/my.cnf" to "/usr/local/etc/mysql/my.cnf" in the near
6
future.  If you do not want to move your my.cnf to the new location then
7
you must set "mysql_optfile" in /etc/rc.conf to "/var/db/mysql/my.cnf".
8
EOM
9
}
10
{ type: upgrade
11
  message: <<EOM
12
Remember to run mysql_upgrade the first time you start the MySQL server
13
after an upgrade from an earlier version.
14
EOM
15
}
16
]
(-)mysql57-server/Makefile (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME?=	mysql
4
PORTNAME?=	mysql
5
PORTVERSION=	5.7.31
5
PORTVERSION=	5.7.31
6
PORTREVISION?=	1
6
PORTREVISION?=	2
7
CATEGORIES=	databases
7
CATEGORIES=	databases
8
MASTER_SITES=	MYSQL/MySQL-5.7
8
MASTER_SITES=	MYSQL/MySQL-5.7
9
PKGNAMESUFFIX?=	57-server
9
PKGNAMESUFFIX?=	57-server
Lines 91-97 Link Here
91
91
92
USE_RC_SUBR=	mysql-server
92
USE_RC_SUBR=	mysql-server
93
93
94
SUB_FILES=	my.cnf.sample
94
SUB_FILES=	my.cnf.sample pkg-message
95
95
96
USERS=		mysql
96
USERS=		mysql
97
GROUPS=		mysql
97
GROUPS=		mysql
(-)mysql57-server/files/pkg-message.in (+19 lines)
Line 0 Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
Initial password for first time use of MySQL is saved in $HOME/.mysql_secret
5
ie. when you want to use "mysql -u root -p" first you should see password
6
in /root/.mysql_secret
7
8
MySQL57 has a default %%ETCDIR%%/my.cnf,
9
remember to replace it wit your own
10
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
11
EOM
12
}
13
{ type: upgrade
14
  message: <<EOM
15
Remember to run mysql_upgrade the first time you start the MySQL server
16
after an upgrade from an earlier version.
17
EOM
18
}
19
]
(-)mysql57-server/pkg-message (-19 lines)
Lines 1-19 Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
Initial password for first time use of MySQL is saved in $HOME/.mysql_secret
5
ie. when you want to use "mysql -u root -p" first you should see password
6
in /root/.mysql_secret
7
8
MySQL57 has a default %%ETCDIR%%/my.cnf,
9
remember to replace it wit your own
10
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
11
EOM
12
}
13
{ type: upgrade
14
  message: <<EOM
15
Remember to run mysql_upgrade the first time you start the MySQL server
16
after an upgrade from an earlier version.
17
EOM
18
}
19
]
(-)mysql80-server/Makefile (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME?=		mysql
4
PORTNAME?=		mysql
5
PORTVERSION=		8.0.21
5
PORTVERSION=		8.0.21
6
PORTREVISION?=		2
6
PORTREVISION?=		3
7
CATEGORIES=		databases
7
CATEGORIES=		databases
8
MASTER_SITES=		MYSQL/MySQL-8.0
8
MASTER_SITES=		MYSQL/MySQL-8.0
9
PKGNAMESUFFIX?=		80-server
9
PKGNAMESUFFIX?=		80-server
Lines 120-126 Link Here
120
120
121
USE_RC_SUBR=	mysql-server
121
USE_RC_SUBR=	mysql-server
122
122
123
SUB_FILES=	my.cnf.sample
123
SUB_FILES=	my.cnf.sample pkg-message
124
124
125
USERS=		mysql
125
USERS=		mysql
126
GROUPS=		mysql
126
GROUPS=		mysql
(-)mysql80-server/files/pkg-message.in (+21 lines)
Line 0 Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
There is no initial password for first time use of MySQL.
5
Keep in mind to reset it to a secure password.
6
7
MySQL80 has a default %%ETCDIR%%/my.cnf,
8
remember to replace it with your own
9
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
10
EOM
11
}
12
{ type: upgrade
13
  message: <<EOM
14
As of MySQL 8.0.16, the MySQL server performs the upgrade tasks previously
15
handled by mysql_upgrade. Consequently, mysql_upgrade is unneeded and is
16
deprecated as of that version, and will be removed in a future MySQL version.
17
Because mysql_upgrade no longer performs upgrade tasks,
18
it exits with status 0 unconditionally. 
19
EOM
20
}
21
]
(-)mysql80-server/pkg-message (-21 lines)
Lines 1-21 Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
There is no initial password for first time use of MySQL.
5
Keep in mind to reset it to a secure password.
6
7
MySQL80 has a default %%ETCDIR%%/my.cnf,
8
remember to replace it with your own
9
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
10
EOM
11
}
12
{ type: upgrade
13
  message: <<EOM
14
As of MySQL 8.0.16, the MySQL server performs the upgrade tasks previously
15
handled by mysql_upgrade. Consequently, mysql_upgrade is unneeded and is
16
deprecated as of that version, and will be removed in a future MySQL version.
17
Because mysql_upgrade no longer performs upgrade tasks,
18
it exits with status 0 unconditionally. 
19
EOM
20
}
21
]

Return to bug 250340