Mysql find slave lag

Command to find slave lag (on mysql slave):

$ mysql -u root --password=PASSWORD -e "show slave status\G" | grep Seconds_Behind_Master
        Seconds_Behind_Master: 0
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments