From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 14:22:46 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 B5E18106566C for ; Wed, 29 Sep 2010 14:22:46 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 8635E8FC1E for ; Wed, 29 Sep 2010 14:22:46 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.4/8.14.4) with ESMTP id o8TELqtc024880 for ; Wed, 29 Sep 2010 09:21:52 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24877.1285770112.1@dc.cis.okstate.edu> Date: Wed, 29 Sep 2010 09:21:52 -0500 From: Martin McCormick Subject: 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:22:46 -0000 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" ); 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. Thanks for any suggestions. Martin McCormick