Ehm mysql root password is just stored in the mysql.user database. As a hash. So good luck with that.
Only thing you can do is to reset it, but you will probably have to have root (or mysql user) privs. which means you can just copy the whole mysql database anyway and resetting the root password would be then useless in that case.
Only thing you can do is to reset it, but you will probably have to have root (or mysql user) privs. which means you can just copy the whole mysql database anyway and resetting the root password would be then useless in that case.
