We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649b38f commit 164ec09Copy full SHA for 164ec09
automysqlbackup
@@ -113,7 +113,7 @@ load_default_config() {
113
}
114
115
mysql_commands() {
116
- VERSION=`mysql -V | grep -oE "[0-9]+\.[0-9]+\.[0-9]+"`
+ VERSION=`mysql -V | grep -oE "[0-9]+\.[0-9]+\.[0-9]+ | head -1"`
117
NODOT_VER=`echo $VERSION | sed -${sed_Regex} 's/\.//g'`
118
if [ "${CONFIG_mysql_dump_encrypted_login}" = "yes" ]; then
119
export MYSQLDUMP="mysqldump --login-path=$CONFIG_mysql_dump_login_path"
0 commit comments