mysql accept no argument BEFORE --defaults-file
This commit is contained in:
parent
ba4d7cb141
commit
c184af2fc2
|
@ -71,7 +71,7 @@ for file in $( ls $extensions | sort -n ) ; do
|
||||||
cat $file
|
cat $file
|
||||||
echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version';"
|
echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version';"
|
||||||
echo "COMMIT;"
|
echo "COMMIT;"
|
||||||
) | mysql -f --defaults-file=/etc/alternc/my.cnf
|
) | mysql --defaults-file=/etc/alternc/my.cnf -f
|
||||||
;;
|
;;
|
||||||
php)
|
php)
|
||||||
php -q $file
|
php -q $file
|
||||||
|
|
Loading…
Reference in New Issue