List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:August 15 2002 3:46pm
Subject:Re: Slow Log
View as plain text  
Did you check your error logs?
Does mysql have write permissions to /home/admin ?

John Wards wrote:

>I am having problems with mysql loggin slow queries. I have set up mysql.sh
>like this
>
>log_dir=/home/admin/slow_slog.log
>
>$bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file --log-slow-queri
>es=$log_dir &
>
>That is all I have changed and re started mysql. but no slow_slog.log file
>has been created. What have I done wrong?
>
>And as you can see from the output from status I have 41 slow querys and not
>a long uptime
>
>Uptime: 8963  Threads: 22  Questions: 258529  Slow queries: 41  Opens: 572
>Flush tables: 1  Open tables: 562 Queries per second avg: 28.844
>
>Any clues
>
>John
>
>
>---------------------------------------------------------------------
>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 <mysql-thread117187@stripped>
>To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


Thread
Slow LogJohn Wards15 Aug
  • Re: Slow LogGerald Clark15 Aug