Use correct dir for config files
This commit is contained in:
parent
245cc80c25
commit
e11843d212
@ -74,7 +74,7 @@
|
||||
|
||||
Name: community-mysql
|
||||
Version: 5.6.22
|
||||
Release: 4%{?with_debug:.debug}%{?dist}
|
||||
Release: 5%{?with_debug:.debug}%{?dist}
|
||||
Summary: MySQL client programs and shared libraries
|
||||
Group: Applications/Databases
|
||||
URL: http://www.mysql.com
|
||||
@ -468,6 +468,7 @@ cmake .. \
|
||||
-DNICE_PROJECT_NAME="MySQL" \
|
||||
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
||||
-DSYSCONFDIR="%{_sysconfdir}" \
|
||||
-DSYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
|
||||
-DINSTALL_DOCDIR="share/doc/%{_pkgdocdirname}" \
|
||||
-DINSTALL_DOCREADMEDIR="share/doc/%{_pkgdocdirname}" \
|
||||
-DINSTALL_INCLUDEDIR=include/mysql \
|
||||
@ -699,7 +700,6 @@ if [ $1 = 1 ]; then
|
||||
fi
|
||||
%endif
|
||||
/bin/touch %{logfile}
|
||||
/bin/chmod 0755 %{dbdatadir}
|
||||
|
||||
%preun server
|
||||
%if %{with init_systemd}
|
||||
@ -942,6 +942,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-5
|
||||
- Use correct dir for config files
|
||||
|
||||
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 5.6.22-4
|
||||
- Move server settings to renamed config file under my.cnf.d dir
|
||||
|
||||
|
@ -14,5 +14,5 @@ symbolic-links=0
|
||||
#
|
||||
# include all files from the config directory
|
||||
#
|
||||
!includedir @INSTALL_SYSCONF2DIR@
|
||||
!includedir @SYSCONF2DIR@
|
||||
|
||||
|
@ -27,9 +27,9 @@ if [ $version -ne $thisversion ] ; then
|
||||
cat <<EOF >&2
|
||||
The datadir located at $datadir needs to be upgraded using 'mysql_upgrade' tool. This can be done using the following steps:
|
||||
|
||||
1. Back-up your data before running 'mysql_upgrade'
|
||||
2. Start the database daemon using 'systemctl start @DAEMON_NAME@.service'
|
||||
3. Run 'mysql_upgrade' with a database user that has sufficent privileges
|
||||
1. Back-up your data before with 'mysql_upgrade'
|
||||
2. Start the database daemon using 'service @DAEMON_NAME@ start'
|
||||
3. Run 'mysql_upgrade' with a database user that has sufficient privileges
|
||||
|
||||
Read more about 'mysql_upgrade' usage at:
|
||||
http://dev.mysql.com/doc/refman/5.6/en/mysql-upgrade.html
|
||||
|
Loading…
Reference in New Issue
Block a user