From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 14:31:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A385106566B for ; Wed, 29 Sep 2010 14:31:02 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id AAA428FC16 for ; Wed, 29 Sep 2010 14:31:01 +0000 (UTC) Received: by fxm9 with SMTP id 9so611064fxm.13 for ; Wed, 29 Sep 2010 07:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=J+cz7r8zaPE0x4qDz4bpXBgth5H6g8KhyXWLuJC0MV4=; b=DukNDvIoW42N7F+HUJKSCvsYmi254qvlzl6eQbm+AsbGIIS8GJUB/LNB1BVNx0Vdg8 uI7vYnlG7/ECFWz0Y1vgV4yvj5MqZg87GuXNheQJaR0XM3pybQ9mFxGJJSOWs2QLpzZI KledfyLDYLQa+tiuHwZpAxF4n0u11s9uxJ59Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=udmEqGbJXwcr7X74id+jBRVVhoMFSBVlu40ROQ/KxZOkHKXsclf1IvafZSpx/rw9HQ xzuvVmcEIrPAzATgnmWtxS7tGcr7l57URGsigk3oGCednlbT6LaOWAR3+G2lHxto8MuN h7MfLsMQVEcuWa9vi26DQsXPmx8sL48uH2v+Y= Received: by 10.223.101.18 with SMTP id a18mr1859566fao.19.1285770660299; Wed, 29 Sep 2010 07:31:00 -0700 (PDT) Received: from schism.local (173-161-130-225-Philadelphia.hfc.comcastbusiness.net [173.161.130.225]) by mx.google.com with ESMTPS id e17sm3806827faa.39.2010.09.29.07.30.54 (version=SSLv3 cipher=RC4-MD5); Wed, 29 Sep 2010 07:30:56 -0700 (PDT) Message-ID: <4CA34D9D.2020105@gmail.com> Date: Wed, 29 Sep 2010 10:30:53 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Martin McCormick References: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> In-Reply-To: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Not Sure Which Package has mssql_connect. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 14:31:02 -0000 Hi Martin, On 9/29/10 10:21 AM, Martin McCormick wrote: > I just upgraded a system from FreeBSD6.3 to 8.1 and only have 2 > loose ends so far. > > One is that I discovered some of my C code needs a > little touching up to continue to work right and the other is > that we have an application on our system that uses freetds and > makes mysql queries and presently gives me the following error: > > Fatal error: Call to undefined function mssql_connect() in > > Line number of script is given and that line reads: > > $numero= mssql_connect("sql" , "natreg1" , "PASSWD" ); > Are you sure mssql_connect() isn't a typo? The rest of your email states mysql_connect(). > As soon as I find out what port or package contains > mysql_connect, we should be back in business. > > I did install mysql50-client. It does not contain the > mysql_connect routine so I deleted it. I installed the port > called mysql-connector-odbc which looked like a good possibility > but it also does not have the connect routine. > > I installed php5 to get the php interpreter so it is > possible that I have the wrong php and another php has the > mysql_connect routine so at this time, I am all ears. > Cheers, -- Glen Barber