How to expert MySQL user account, with password and right permission to another MySQL server

You don’t have to do that MYSQL_CONN variable. Just put the parameters directly within your call to pt-show-grants

pt-show-grants -uroot -pmypassword >mysqlusegrants.sql