mysql --defaults-extra-file=/root/.my.cnf mysql -hdefiant -e 'show master status' mysql --defaults-extra-file=/root/.my.cnf mysql -hfirebrand -e 'show master status' mysql --defaults-extra-file=/root/.my.cnf mysql -hdefiant -e 'show slave status' --vertical mysql --defaults-extra-file=/root/.my.cnf mysql -hfirebrand -e 'show slave status' --vertical