Rob,
Welcome to JavaRanch!
If you are inserting through a
Java program, you can write code to insert the row via
JDBC and append it to your file using Java's I/O APIs. If you inserting at the mysql command line, you are going to have to manually add it to the file each time. Although I suppose you could write an operating system batch file to do it for you.