I am trying to connect to MySQL database at on host (DBhost) from another host (PROGRAMhost).
While I try to connect to the database at DBhost from DBhost itself the next is working fine for me:
Now I am trying to find out what to use instead of localhost? I tried to replace localhost with host's url:port (I tried number of ports) but this is not working (even when I am connecting from DBhost itself). How can I find out what is the proper value to use instead of localhost?