Date: Wed, 29 Sep 2010 10:30:53 -0400 From: Glen Barber <glen.j.barber@gmail.com> To: Martin McCormick <martin@dc.cis.okstate.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Not Sure Which Package has mssql_connect. Message-ID: <4CA34D9D.2020105@gmail.com> In-Reply-To: <201009291421.o8TELqtc024880@dc.cis.okstate.edu> References: <201009291421.o8TELqtc024880@dc.cis.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA34D9D.2020105>
