mysql accept no argument BEFORE --defaults-file

This commit is contained in:
Benjamin Sonntag 2014-07-04 16:17:28 +02:00
parent ba4d7cb141
commit c184af2fc2
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ for file in $( ls $extensions | sort -n ) ; do
cat $file
echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version';"
echo "COMMIT;"
) | mysql -f --defaults-file=/etc/alternc/my.cnf
) | mysql --defaults-file=/etc/alternc/my.cnf -f
;;
php)
php -q $file