Now login to the server:
mysql -u root -p mysql
Now enter the following:
grant all privileges on *.* to 'root'@'%' identified by '' with grant option;flush privileges;exitNow you are able to manage the database remotely by MySql Workbench.