How i run 2 server on same computer?

I want to run a test server on same computer and how i do with the heidisql database?

Clone your current database table (or whole database). Copy the server files to a different directory. Adjust your convar to use the new database table (or database). Change the listening port to a different port (probably just increment one). Good to go.

Just make a second cfg file and use that one to start a secondary one