SQL connect error
Posted by: dashep (80.238.8.---)
Date: May 10, 2007 01:30PM

Hi,

I have installed WAMP and setup the web pages successfully. However I need to get the site to use a .mdb file and so far only the following sql error is returned...

Warning: odbc_connect() [function.odbc-connect]: SQL error: Failed to fetch error message, SQL state HY000 in SQLConnect in C:\wamp\www\basic.php on line 2

Where 'line 2' is <?php $cnx=odbc_connect('DAS_Services','root','');?>

Can someone please advise what this means and where my problem may lie?

Thanks

Options: ReplyQuote
Re: SQL connect error
Posted by: CyberSpatium (71.237.217.---)
Date: May 10, 2007 05:29PM

<?php $cnx=mysql_connect('localhost','root',''); ?>



CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Web Development for Newbie's Blog

Options: ReplyQuote


Sorry, only registered users may post in this forum.