Why does this work?
$ vim my.cnf  # add "log=/opt/local/var/log/mysql.log"
$ tail -f /opt/local/var/log/mysql.log

But this does not?
$ mkfifo /opt/local/var/log/mysql.fifo
$ vim my.cnf  # add "log=/opt/local/var/log/mysql.fifo"
$ tail -f /opt/local/var/log/mysql.fifo

I would like my MySQL queries to be logged to a name pipe so that I can watch them (with tail) whenever I want, without filling my hard drive with log files. Is this possible?

Richard


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to