Hello, I'm looking for a solution to INSERT data from a text file that is used for logging into a MySQL table.
A hypothetical example... I have a server (any server, could be a RADIUS, a DNS or a MTA) that logs to a file in "/var/logs/log-file". Is there a way to take the raw data sent to the log file and "INSERT" it into a table? Can this be done on the "fly", meaning, the data isn't stored in the flat text file at all, but rather the "service" sends the data to the log file and instead of being written to the file, it's sent to a table. Does this sound like a job for Perl/DBI/DBD? Thanks for any in site or comments, Jeff --------------------------------------------------------------------- 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