View | Details | Raw Unified | Return to bug 206912 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +10 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mysql
4
PORTNAME=	mysql
5
PORTVERSION=	5.7.10
5
PORTVERSION=	5.7.10
6
PORTREVISION?=	2
6
PORTREVISION?=	3
7
CATEGORIES=	databases ipv6
7
CATEGORIES=	databases ipv6
8
MASTER_SITES=	MYSQL/MySQL-5.7:MySQL SF/boost/boost/1.59.0:boost
8
MASTER_SITES=	MYSQL/MySQL-5.7:MySQL SF/boost/boost/1.59.0:boost
9
PKGNAMESUFFIX?=	57-server
9
PKGNAMESUFFIX?=	57-server
Lines 102-107 Link Here
102
PARTITION_CMAKE_ON=	-DWITH_PARTITION_STORAGE_ENGINE=1
102
PARTITION_CMAKE_ON=	-DWITH_PARTITION_STORAGE_ENGINE=1
103
PERFSCHEMA_CMAKE_ON=	-DWITH_PERFSCHEMA_STORAGE_ENGINE=1
103
PERFSCHEMA_CMAKE_ON=	-DWITH_PERFSCHEMA_STORAGE_ENGINE=1
104
104
105
OPTIONS_RADIO+=		FEATURS
106
OPTIONS_RADIO_FEATURS=	PERFSCHM
107
FEATURS_DESC=		Enable/Disable some Features by default
108
PERFSCHM_DESC=		Enable "Performance Schema" by default (High RAM usage)
109
OPTIONS_DEFAULT+=	PERFSCHM
110
111
PERFSCHM_SUB_LIST+=	PERFSCHEMRC=""
112
PERFSCHM_SUB_LIST_OFF+=	PERFSCHEMRC="--skip-performance-schema"
113
105
.else
114
.else
106
USES+=		readline
115
USES+=		readline
107
.endif
116
.endif
(-)files/mysql-server.in (-1 / +1 lines)
Lines 41-47 Link Here
41
: ${hostname:=`/bin/hostname`}
41
: ${hostname:=`/bin/hostname`}
42
pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"}
42
pidfile=${mysql_pidfile:-"${mysql_dbdir}/${hostname}.pid"}
43
command="/usr/sbin/daemon"
43
command="/usr/sbin/daemon"
44
command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_optfile} --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args} --skip-performance-schema"
44
command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_optfile} --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args} %%PERFSCHEMRC%%"
45
procname="%%PREFIX%%/libexec/mysqld"
45
procname="%%PREFIX%%/libexec/mysqld"
46
start_precmd="${name}_prestart"
46
start_precmd="${name}_prestart"
47
start_postcmd="${name}_poststart"
47
start_postcmd="${name}_poststart"
(-)pkg-message (-4 / +1 lines)
Lines 3-13 Link Here
3
Remember to run mysql_upgrade the first time you start the MySQL server
3
Remember to run mysql_upgrade the first time you start the MySQL server
4
after an upgrade from an earlier version.
4
after an upgrade from an earlier version.
5
5
6
Init. password for first time use of MySQL is saved in $HOME/.mysql_secret
6
Initial password for first time use of MySQL is saved in $HOME/.mysql_secret
7
ie. when you want to use "mysql -u root -p" first you should see password
7
ie. when you want to use "mysql -u root -p" first you should see password
8
in /root/.mysql_secret
8
in /root/.mysql_secret
9
9
10
performance_schema feature is set off by default, because of using high RAM.
11
if you need it enable it yourself :)
12
13
*****************************************************************************
10
*****************************************************************************

Return to bug 206912