I am aware of this command:
GRANT ALL PRIVILEGES ON database.* TO \'user\'@\'yourremotehost\' IDENTIFIED BY \'newpassword\';
But then it on
GRANT ALL PRIVILEGES ON *.* TO 'user'@'ipadress'