This file is created by the mysqld to let mysql clients know how to connect to the server. The /tmp directory is not really a good place to store it by the way.
Just restart the mysqld and the file should be re-created (a reboot means restarting the mysqld too, that's why Kait's solution works too)