in reply to How can i connect to database on remote server
Then make sure you can actually connect to the remote server using an interactive tool (most database have at least one interactive tool).
Then you change the connection string you use to create a database handle when using the DBI. Depending on the database server, this might require changes in hostname, port, databasename, username and/or password.
|
|---|