On Thu, May 02, 2002 at 09:21:14AM -0600, Guy Davis wrote: > On Thu, 2002-05-02 at 00:38, Jeremy Zawodny wrote: > > On Wed, May 01, 2002 at 04:24:05PM -0600, Guy Davis wrote: > > > > > I am having a really strange problem with a in-house C application > > > that calls mysql_connect() and generates a segfault deep within > > > uname() when I configure it to contact a remote server. Using a > > > local MySQL server works fine as uname is never called. > > > > > > Have any of you ever seen anything like this? > > > > Is that remote server's info in /etc/hosts on the client? If not, see > > if that makes a difference. > > Yes, adding the remote server's line to /etc/hosts clears up the > problem. Does that meant that our DNS server is somehow > misconfigured. Issuing 'host dev.pason.com' at the command line > gives me the correct IP address. > > Here's /etc/host.conf: order hosts,bind
It probably points to either a bug in your system's resolver library or the way in which MySQL uses it. What OS are you running? I don't recall if you said. -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 MySQL 3.23.47-max: up 84 days, processed 2,181,971,335 queries (300/sec. avg) --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php