He has an Hosting at some internet provider. On this hosting he can use (for ex) php to connect to the database which is accessible through localhost.
He want to access this database from his device (man in the middle needed; php, RDC(2))
In fact seems that the database is not accessible from outside due to restrictions of his hoster.