Re: DBI and hosts file entries

2017-06-01 Thread Bruce Ferrell
Hi Paul, I'm going to assume you're on a Linux system. I have exactly that configuration on my system (name to ip address mapping in /etc/hosts) and here's my understanding of how it's supposed to work: DBI uses a database driver (DBD). DBD uses the database client libraries. In my case

Re: DBI and hosts file entries

2017-06-01 Thread Chris Fedde
first you want to be sure that your host can connect to the remote host onn the right port. You can use the telnet command to do that telnet server port where server is the name for the server in your /etc/hosts file and port is the port number on the remote where sybase is listening. iirc

DBI and hosts file entries

2017-06-01 Thread Paul M via beginners
I have a hosts entry that points to a specific IP address. It does not appear that DBI:Sybase:server uses the /etc/hosts file? Is this correct?Ping works fine in shell.How would I point a server name to different IP addresses locally?What does DBI use for name resolution? Thanks!