Project

General

Profile

« Previous | Next » 

Revision 8877

bugfix: lib/util.sh: mysql_cmd (): need to use `--databases ...` rather than `--database=...` to specify the database as a named argument

View differences:

lib/util.sh
211 211
	local var=ssh_dest; local_inv
212 212
	echo_run ${no_ssh_dest:+env }${ssh_dest:+ssh "$ssh_dest" }"${FUNCNAME[1]}" \
213 213
${server:+ --host="$server" }${user+--user="$user" }\
214
--password${password+="$password"} ${database+--database="$database" } "$@"
214
--password${password+="$password"} ${database+--databases "$database" } "$@"
215 215
}
216 216

  
217 217
mysql ()

Also available in: Unified diff