How to add remotely access to mysql user
GRANT ALL ON <database>.* TO <user>@'<remote-ip>' IDENTIFIED BY '<password>';