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

“or the easy way (Percona toolkit)”
ahaha.

so my command above is correct? 
so this one: “MYSQL_CONN=”-uroot -ppassword"" , is set in linux ?