WAMP and MSSQL
Posted by: potain (---.215.121.85.bdsl.sk)
Date: April 23, 2006 05:05PM

PLEASE, what I must install to have possibility use mssql db, now i have this error: Call to undefined function mssql_connect(), HELP ME PLEASE


Options: ReplyQuote
Re: WAMP and MSSQL
Posted by: nubianinja (66.110.110.---)
Date: April 23, 2006 05:17PM

I Have been experiancing the same prob with oscommerce installed on my pc.

I downloaded the PHP4.4.2 add on - when i switch to php 4 and i try to access my catalog homepage I get the same error you get but when i switch to php5 then I can connect to the database.



"The flesh is willing, but the mind .... Hey who'se potato chips are these!!?"

Options: ReplyQuote
Re: WAMP and MSSQL
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: April 23, 2006 11:04PM

WAMP comes with the default root account with no password, so when accessing your database, you need to use:

mysql_connect ('localhost', 'root', null);

Options: ReplyQuote
Re: WAMP and MSSQL
Posted by: potain (---.215.121.85.bdsl.sk)
Date: April 24, 2006 07:57AM

the problem is, that I got error :: Call to undefined function mssql_connect() , it;s not aout problem with connection, but problem with suport

Options: ReplyQuote
Re: WAMP and MSSQL
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: April 24, 2006 09:22AM

you are using the wrong command to access mysql, you are using mssql_connect which is used to access microsoft sql server, not mysql. you need to use mysql_connect.

Options: ReplyQuote


Sorry, only registered users may post in this forum.