Trying to restore users/passwords for a MySQL server
You don't need to export or import anything.  As long as the versions of MySQL on both machines are identical you can simply 


Shutdown MySQL process service mysql stop
Overwrite the installed /var/lib/mysql with the old /var/lib/mysql.

A. cp -Rf /var/lib/old_mysql /var/lib/mysql

B. As a precaution you could move the /var/lib/mysql on the new server
mv /var/lib/mysql /var/lib/mysql_default
chown mysql:mysql -R /var/lib/mysql
Overwrite the installed my.cnf with the old /etc/mysql/my.cnf file 

A. As a precaution you can mv the my.cnf on the new installation
mv /etc/mysql/my.cnf /etc/mysql/my.cnf_default

B. Or even better, you could put a custom .cnf file in /etc/mysql/conf.d
Start MySQL process service mysql start


Your users and permissions will be restored automatically

You can verify version info with mysql -V

Good luck