Hi,
> Is there a way to redirect the output of a MySQL statement like SHOW
> VARIABLES to a file?
This is extremely easy. On the command line, simply do the following:
$ mysql -u youruser -p --execute="show variables" > yourfile.txt
For info on various command line arguments (including alterna
Is there a way to redirect the output of a MySQL statement like SHOW
VARIABLES to a file?
Thanks
Frank
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (th