From 179e1b1d53ef3d6c964af445c66d423e56cf76c1 Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Mon, 10 Aug 2020 11:04:05 +0200 Subject: #997 #755 opengnsys_export: database dump does not export tablespaces due to mysql 5.7.31 compatibility (no tablespaces used). --- installer/opengnsys_export.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer/opengnsys_export.sh b/installer/opengnsys_export.sh index e0f6959c..67ad008e 100755 --- a/installer/opengnsys_export.sh +++ b/installer/opengnsys_export.sh @@ -17,6 +17,8 @@ #@date 2018-02-14 #@version 1.1.1 - Incluye scripts personalizados (*Custom) #@date 2019-07-25 +#@version 1.2.0 - mysqldump no exporta los tablespaces por compatibilidad con mysql 5.7.31 (no los usamos). +#@date 2020-08-10 #*/ ## # Variables globales. @@ -83,7 +85,7 @@ user=$USUARIO password=$PASSWORD EOT -mysqldump --defaults-extra-file=$MYCNF --opt $CATALOG > $MYSQLFILE +mysqldump --defaults-extra-file=$MYCNF --opt --no-tablespaces $CATALOG > $MYSQLFILE chmod 400 $MYSQLFILE # Borrar fichero temporal -- cgit v1.2.3-18-g5258