Trackmania dedicated server

Is it allowed to put trackmania dedicated server to my webspace.
If someone is using it pls answer.I dont know if it works here

Trackmania is a browsergame. Browsergames are forbidden here. sry.

can i use my mysql database for trackmania

No, the mysql-server is not accessible from external ressources like the game.