File tree Expand file tree Collapse file tree 4 files changed +40
-4
lines changed Expand file tree Collapse file tree 4 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Copyright (c) 2014, 2015 , Oracle and/or its affiliates. All rights reserved.
3+ # Copyright (c) 2014, 2016 , Oracle and/or its affiliates. All rights reserved.
44#
55# This program is free software; you can redistribute it and/or modify
66# it under the terms of the GNU General Public License as published by
@@ -27,6 +27,15 @@ take_upstart_job_backup () {
2727case " $1 " in
2828 configure)
2929
30+ # MySQL 5.6.34 needs this
31+ MYSQLFILES=/var/lib/mysql-files
32+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
33+ then
34+ mkdir ${MYSQLFILES}
35+ chown mysql:mysql ${MYSQLFILES}
36+ chmod 770 ${MYSQLFILES}
37+ fi
38+
3039 if [ -z " $2 " ];
3140 then
3241 set -e
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Copyright (c) 2014, 2015 , Oracle and/or its affiliates. All rights reserved.
3+ # Copyright (c) 2014, 2016 , Oracle and/or its affiliates. All rights reserved.
44#
55# This program is free software; you can redistribute it and/or modify
66# it under the terms of the GNU General Public License as published by
@@ -27,6 +27,15 @@ take_upstart_job_backup () {
2727case " $1 " in
2828 configure)
2929
30+ # MySQL 5.6.34 needs this
31+ MYSQLFILES=/var/lib/mysql-files
32+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
33+ then
34+ mkdir ${MYSQLFILES}
35+ chown mysql:mysql ${MYSQLFILES}
36+ chmod 770 ${MYSQLFILES}
37+ fi
38+
3039 if [ -z " $2 " ];
3140 then
3241 set -e
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Copyright (c) 2014, 2015 , Oracle and/or its affiliates. All rights reserved.
3+ # Copyright (c) 2014, 2016 , Oracle and/or its affiliates. All rights reserved.
44#
55# This program is free software; you can redistribute it and/or modify
66# it under the terms of the GNU General Public License as published by
@@ -27,6 +27,15 @@ take_upstart_job_backup () {
2727case " $1 " in
2828 configure)
2929
30+ # MySQL 5.6.34 needs this
31+ MYSQLFILES=/var/lib/mysql-files
32+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
33+ then
34+ mkdir ${MYSQLFILES}
35+ chown mysql:mysql ${MYSQLFILES}
36+ chmod 770 ${MYSQLFILES}
37+ fi
38+
3039 if [ -z " $2 " ];
3140 then
3241 set -e
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Copyright (c) 2014, 2015 , Oracle and/or its affiliates. All rights reserved.
3+ # Copyright (c) 2014, 2016 , Oracle and/or its affiliates. All rights reserved.
44#
55# This program is free software; you can redistribute it and/or modify
66# it under the terms of the GNU General Public License as published by
@@ -27,6 +27,15 @@ take_upstart_job_backup () {
2727case " $1 " in
2828 configure)
2929
30+ # MySQL 5.6.34 needs this
31+ MYSQLFILES=/var/lib/mysql-files
32+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
33+ then
34+ mkdir ${MYSQLFILES}
35+ chown mysql:mysql ${MYSQLFILES}
36+ chmod 770 ${MYSQLFILES}
37+ fi
38+
3039 if [ -z " $2 " ];
3140 then
3241 set -e
You can’t perform that action at this time.
0 commit comments