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!
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
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 MyS
Hi,
According to my experience with DBD::Sybase + Freetds, the name resolution
is done for the host names specified in the freetds.conf file.
The following code will try to create an handler object for the host+port
specified in the [ENGINEERING] section of the freetds.conf file
$dbh = DBI->conn