LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2003, 03:48 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
MYSQL analyze logs


MySQL stores logs in the /var/lib/mysql. The error file in my case is "localhost.err".

Prototype:
#1 Error Log sends to "localhost.err" and to my email address at the same time.

I think that I can use "wc -l" command to analyze if more lines were added.

But in order to store previous information I should use some database.

Is there another way for doing this?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Location of mysql logs? khwang Linux - Newbie 7 12-17-2010 06:51 AM
Help with MySQL logs icarusfall Linux - Software 0 11-14-2005 05:24 PM
what program do you use to analyze your logs ? ddaas Linux - General 3 03-06-2005 09:21 AM
MySQL logs, problem chidomen Linux - Newbie 1 03-01-2005 01:35 PM
MySQL stores logs? mikeshn Linux - Software 2 09-06-2003 07:21 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration