Hello,
Thanks for choosing x10Hosting for your free host. Your using the correct server name, localhost, just sometimes you'll notice MySQL is slower during peak times due to the amount of people on running queries, etc.
Are you running your own script or are you using a script on your site...