Friday, January 20, 2017

How to run Redis server as daemon

 Want to run redis-server in background nonstop use below command
"redis-server --daemonize yes " 
Check if the process started or not:

ps aux | grep redis-server


ENABLE General logs in MYSQL database

If you were login with root user on mysql database .    Use below command enable log    SET GLOBAL general_log = 'ON' ;   ...