On Sat, 1 Jun 2002, Poonam P wrote:
I have a MySql db with TABLE=TEST FIELD=LIST RECORDs= 1pc49 6qh79 sbe59 etc.
I need a script that will connect to the db and append each record to a text file till end of database.
for perl, man DBI. There's an example that retrieves records from a database. You then just need to append it to the text file in any number of ways.
The simplest would be to print it to stdout, and redirect your script's output.