Do not create log file in post script
Conflicts: mariadb.spec my.cnf.in
This commit is contained in:
parent
e1cb7b3d49
commit
a0cd71f735
@ -108,7 +108,7 @@
|
|||||||
|
|
||||||
Name: mariadb
|
Name: mariadb
|
||||||
Version: %{compatver}.%{bugfixver}
|
Version: %{compatver}.%{bugfixver}
|
||||||
Release: 6%{?with_debug:.debug}%{?dist}
|
Release: 7%{?with_debug:.debug}%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
Summary: A community developed branch of MySQL
|
Summary: A community developed branch of MySQL
|
||||||
@ -867,8 +867,6 @@ if [ $1 = 1 ]; then
|
|||||||
/sbin/chkconfig --add %{daemon_name}
|
/sbin/chkconfig --add %{daemon_name}
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
/bin/touch %{logfile}
|
|
||||||
/bin/chmod 0755 %{dbdatadir}
|
|
||||||
|
|
||||||
%preun server
|
%preun server
|
||||||
%if %{with init_systemd}
|
%if %{with init_systemd}
|
||||||
@ -1141,6 +1139,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 25 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-7
|
||||||
|
- Do not create log file in post script
|
||||||
|
|
||||||
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-6
|
* Sat Jan 24 2015 Honza Horak <hhorak@redhat.com> - 1:10.0.15-6
|
||||||
- Move server settings to config file under my.cnf.d dir
|
- Move server settings to config file under my.cnf.d dir
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ if [ $version -ne $thisversion ] ; then
|
|||||||
cat <<EOF >&2
|
cat <<EOF >&2
|
||||||
The datadir located at $datadir needs to be upgraded using 'mysql_upgrade' tool. This can be done using the following steps:
|
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'
|
1. Back-up your data before with 'mysql_upgrade'
|
||||||
2. Start the database daemon using 'systemctl start @DAEMON_NAME@.service'
|
2. Start the database daemon using 'service @DAEMON_NAME@ start'
|
||||||
3. Run 'mysql_upgrade' with a database user that has sufficient privileges
|
3. Run 'mysql_upgrade' with a database user that has sufficient privileges
|
||||||
|
|
||||||
Read more about 'mysql_upgrade' usage at:
|
Read more about 'mysql_upgrade' usage at:
|
||||||
|
Loading…
Reference in New Issue
Block a user