Mysql server general query log

2007-09-24 Thread Ashok Chauhan
Hi List, Anybody knows a tool for viewing mysql server general query log in linux. Thanks Ashok -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: General Query Log -- No Timestamp

2007-06-29 Thread Alex Greg
On 6/26/07, Brown, Charles <[EMAIL PROTECTED]> wrote: The MYSQL general query log does not include timestamp of queries that it logs because queries are logged many many seconds before they are executed. Which version of MySQL are you running? I'm running 5.0.22 on my desktop, but

General Query Log -- No Timestamp

2007-06-26 Thread Brown, Charles
The MYSQL general query log does not include timestamp of queries that it logs because queries are logged many many seconds before they are executed. Can someone help me associated queries found in the query log with wall clock? I am trying to get a list of queries that were executed within a

Re: [5] Starting Up General Query Log

2006-05-19 Thread sheeri kritzer
That means that your options have no group. Options should go under the program they're intended to be run under, for instance [mysqldump] user=root [mysql.client] user=guest [mysqld] log=/path/to/logfile You want the mysqld program (mysql server) to use the general log, so put it under a sec

Re: [5] Starting Up General Query Log

2006-05-19 Thread Rich
Why this list goes private I'll never know. I guess that's why I always get two copies. In the errors log: Found option without preceding group in config file: /etc/my.cnf at line: 1 Fatal error in defaults handling. Program aborted /var/log/ does indeed exist root runs mysqld On

Re: [5] Starting Up General Query Log

2006-05-19 Thread sheeri kritzer
Yes. idea #1 -- reply all, including the list. idea #2 -- what's in the error logs? Check that the user that runs mysql has permission to write to the file and that /var/log exists. -Sheeri On 5/19/06, Rich <[EMAIL PROTECTED]> wrote: Hi there. I added the my.cnf file (it wasn't there) and p

Re: [5] Starting Up General Query Log

2006-05-19 Thread sheeri kritzer
t;[EMAIL PROTECTED]> wrote: Mac OS X 10.4.6 (Tiger), MySQL 5.0.21. Hi folks. I'm needing to start up my general query log to see what's ticking me off. I've looked into safe_mysqld but it's confusing as ... something that's confusing. Anybody know how I can easily turn t

[5] Starting Up General Query Log

2006-05-19 Thread Rich
Mac OS X 10.4.6 (Tiger), MySQL 5.0.21. Hi folks. I'm needing to start up my general query log to see what's ticking me off. I've looked into safe_mysqld but it's confusing as ... something that's confusing. Anybody know how I can easily turn this thing on for

Re: Named Pipe for General Query Log

2005-11-15 Thread Joerg Bruehe
eneral query log (or any of the other logfiles for that matter)? I tried the following as user mysql: rm /var/lib/mysql/myhost.log mkfifo -m 0660 /var/lib/mysql/myhost.log but the mysql server would not start. Sure: "Works as designed". "man 2 open" will tell you that an &qu

Re: Named Pipe for General Query Log

2005-11-14 Thread Jake Peavy
wrote: > > Has anyone been able to use a named pipe for their general query log > (or any of the other logfiles for that matter)? > > I tried the following as user mysql: > > rm /var/lib/mysql/myhost.log > mkfifo -m 0660 /var/lib/mysql/myhost.log > > but the mysql se

Named Pipe for General Query Log

2005-06-11 Thread Jake Peavy
Has anyone been able to use a named pipe for their general query log (or any of the other logfiles for that matter)? I tried the following as user mysql: rm /var/lib/mysql/myhost.log mkfifo -m 0660 /var/lib/mysql/myhost.log but the mysql server would not start. I think it would be very

Re: Query execution times in general query log?

2003-02-26 Thread Paul DuBois
At 16:52 -0500 2/26/03, 1LT John W. Holmes wrote: > I have a need to find out how long each of the queries executed against a mysql server are taking. Why can't there just be a function that returns this? I mean, it's already printed to the screen when you're running from the command line. Hopefu

Re: Query execution times in general query log?

2003-02-26 Thread 1LT John W. Holmes
> I have a need to find out how long each of the queries executed > against a mysql server are taking. Why can't there just be a function that returns this? I mean, it's already printed to the screen when you're running from the command line. Hopefully I've missed something and it's already there,

Query execution times in general query log?

2003-02-26 Thread Adam Fields
I have a need to find out how long each of the queries executed against a mysql server are taking. I found this post, which indicates that this information can be found in the general query log: http://www.phpbuilder.com/mail/php-general/2002122/0876.php The manual note about it says the binary

analyzing mysql general query log

2003-02-24 Thread Pete Mocat
Hello, Can anyone recommend a script to analyze a mysql server general query log. My goal is to determine which users are putting the most load on the server. Any other methods to achieve this same goal would be appreciated as well. Thank you

general query log

2003-01-13 Thread Andy Ingham
MySQL gurus: I'm a big fan of the general query log for taking the occasional audit of activity against our database server, as well as a tool for checking on the efficiency of new (mostly PHP) projects that interact with MySQL. What I don't like is that I have to stop and restart

Re: General query log option in my.cnf?

2002-07-09 Thread Myk Melez
Håkon Eriksen wrote: >Is there a way of turning on the general query log in the my.cnf file >or do I have to edit the init-script? > > Yes, all command-line options can be specified in my.cnf. Read the following page for more info: http://www.mysql.com/doc/O/p/Option_file

General query log option in my.cnf?

2002-07-09 Thread Håkon Eriksen
Is there a way of turning on the general query log in the my.cnf file or do I have to edit the init-script? Personally, I would very much like to have only one place to set all the configuration options (preferrably my.cnf). Setting datadir and other options both in the my.cnf file and the init