mysql - symbolic link to bit bucket -


How do I put contents of binary log into bit buckets? I tried to create a soft link but it was not working. I do not want to save mysql normal log, but I want to see it through tail -f command.

ln -s / dev / null /var/log/mysql/mysql-gen.log

ln: symbolic link to /var/log/mysql/mysql-gen.log To create / dev / null: the file exists

 ln -fs / dev / null / var / Log / mysql / mysql-gen.log 

or

' -f ' '' - force '& Nbsp; & Nbsp; & Nbsp; Remove existing destination files.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -