/[smecontribs]/rpms/smeserver-mysql57/contribs9/smeserver-mysql57-2.0.0-SME10148-initializeDB2.patch
ViewVC logotype

Contents of /rpms/smeserver-mysql57/contribs9/smeserver-mysql57-2.0.0-SME10148-initializeDB2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Mar 16 01:32:15 2017 UTC (7 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mysql57-2_0_0-12_el6_sme, smeserver-mysql57-2_0_0-9_el6_sme, smeserver-mysql57-2_0_0-11_el6_sme, smeserver-mysql57-2_0_0-10_el6_sme, HEAD
* Wed Mar 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.0-9.sme
- some more modification to allow initialization [SME: 10148]
- error log was missing stoping initialization
- tweaking log format for system time

1 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile
2 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile 2017-03-15 21:14:30.261000000 -0400
3 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/006logfile 2017-03-15 21:24:25.165000000 -0400
4 @@ -1 +1,4 @@
5 log-error=/var/log/mysql57-mysqld.log
6 +explicit_defaults_for_timestamp = 1
7 +log_timestamps = SYSTEM
8 +
9 diff -Nur smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error
10 --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error 2017-03-15 21:14:30.261000000 -0400
11 +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/opt/rh/rh-mysql57/root/etc/my.cnf/010mysqld-log-error 1969-12-31 19:00:00.000000000 -0500
12 @@ -1 +0,0 @@
13 -log-error=/var/log/mysql57-mysqld.log
14 diff -Nur smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/run smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/run
15 --- smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/run 2017-03-15 21:14:30.318000000 -0400
16 +++ smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/run 2017-03-15 21:22:53.721000000 -0400
17 @@ -22,6 +22,9 @@
18
19 if [ ! -f /opt/rh/rh-mysql57/root/var/lib/mysql/mysql/user.frm ]
20 then
21 + touch /var/log/mysql57-mysqld.log
22 + chown mysql:mysql /var/log/mysql57-mysqld.log
23 + chmod 0640 /var/log/mysql57-mysqld.log
24 echo "Initializing MySQL database"
25 /opt/rh/rh-mysql57/root/usr/libexec/mysqld --initialize --datadir="$datadir" --user="mysql"
26 ret=$?

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed