Hi,
Being new to MySQL, I am having a problem getting output from it to the
shell that is formatted the way I need. I need a table to be written to a
file with a delimiter.
something like :
#!/bin/sh
mysql -uroot -ptest database < sql
Then I run that script like this:
./script.sh > output.txt
Any delimiter is ok except for tab. Is this possible?
Thanks, in advance,
-Eric
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php