MySQL Forums
Forum List  »  Perl

Parsing MySQL query log file using perl
Posted by: Yaswanth Kumar
Date: July 17, 2010 08:44AM

Hi!!

My task is to parse the mysql query log file which is in text format and to read them in Perl variables.

Sample text file looks like this.

=============================================
select t, name from temp;

+----------------+----------------+
| t | name |
+----------------+----------------+
| 1 | kkkk |
| 2 | bbbb |
+----------------+----------------+
=============================================

Are there any perl parsers exists.? Please do the needful.

Options: ReplyQuote


Subject
Written By
Posted
Parsing MySQL query log file using perl
July 17, 2010 08:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.