Hello I want for a forum to move the db to another server and i need a secure setup guide to do it.... Thank you
You probably would want to get the info from your hosting provider, since it's going to depend on their setup.
First you should run the command mysql_secure_installation. Then, bind MySQLd on localhost in case you don't need to connect to it remotely, ie. put "bind-address=127.0.0.1" in your /etc/my.cnf (/etc/mysql/my.cnf on Debian based distros). You should add "local-infile=0" and "symbolic-links=0" as well. That's about it regarding MySQLd. If you're looking for something more advanced, check out: http://www.greensql.com/