If your mysql server is online,
I think you don't have a user with host = %
So you have to add a new user with host = %
Code:
grant all privileges on *.* to 'root'@'%' identified by 'password';
if u done this at local mysql-client, it should be fixed!