You should authorize access from the mysql server to your remote server; for instance: > grant all privileges on yourbase.* to 'user'@'remoteserver' identified by 'somepass' with grant option Code (markup):