SF.net SVN: gar:[25798] csw/mgar/pkg/mysql5/branches/mysql-5.6.x
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Tue Jul 5 16:53:06 CEST 2016
Revision: 25798
http://sourceforge.net/p/gar/code/25798
Author: lblume
Date: 2016-07-05 14:53:06 +0000 (Tue, 05 Jul 2016)
Log Message:
-----------
mysql5/branches/mysql-5.6.x: Example configuration file changed name; mysql_secure_installation should be with the client; Add output to the postinstall
Modified Paths:
--------------
csw/mgar/pkg/mysql5/branches/mysql-5.6.x/Makefile
csw/mgar/pkg/mysql5/branches/mysql-5.6.x/files/CSWmysql56.postinstall
Modified: csw/mgar/pkg/mysql5/branches/mysql-5.6.x/Makefile
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.6.x/Makefile 2016-07-04 15:14:50 UTC (rev 25797)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.6.x/Makefile 2016-07-05 14:53:06 UTC (rev 25798)
@@ -124,6 +124,7 @@
client_programs += mysql_zap
client_programs += perror
client_programs += replace
+client_programs += mysql_secure_installation
PACKAGES += CSW$(NAME)client
SPKG_DESC_CSW$(NAME)client = MySQL $(BASE_VERSION) client binaries
Modified: csw/mgar/pkg/mysql5/branches/mysql-5.6.x/files/CSWmysql56.postinstall
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.6.x/files/CSWmysql56.postinstall 2016-07-04 15:14:50 UTC (rev 25797)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.6.x/files/CSWmysql56.postinstall 2016-07-05 14:53:06 UTC (rev 25798)
@@ -5,10 +5,10 @@
# initial version for blastwave.org by Alex Moore 2006.02.25
# Revised 2006.03.25 - see bug report 0001542
#
-# This script creates a default database with the small-memory footprint.
+# This script creates a default database with the default configuration
# Input may be provided for DATADIR and DEFAULTS_FILE
#
-# http://dev.mysql.com/doc/refman/5.0/en/option-files.html
+# http://dev.mysql.com/doc/refman/5.6/en/option-files.html
#
prefix="/opt/csw"
BASEDIR="${prefix}"
@@ -33,7 +33,7 @@
fi
if [ ! -f "$DEFAULTS_FILE" ]; then
- IN_DEFAULTS_FILE=${prefix}/share/mysql56/support-files/my-small.cnf
+ IN_DEFAULTS_FILE=${prefix}/share/mysql56/support-files/my-default.cnf
echo "Using $IN_DEFAULTS_FILE to create the options file."
else
IN_DEFAULTS_FILE=$DEFAULTS_FILE
@@ -57,6 +57,7 @@
# copy the configuration file if not exists.
CNFCOPIED=no
if [ ! -f "$DEFAULTS_FILE" ] ; then
+ echo "Configuration file initialized in $DEFAULTS_FILE"
cp -p $IN_DEFAULTS_FILE $DEFAULTS_FILE
CNFCOPIED=yes
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list