RE: [PHP-WIN] problems in connecting Access database
| From: | Erik H. Mathy | Date: | Mon, 26 Nov 2001 23:25:29 +0000 |
| Subject: | RE: [PHP-WIN] problems in connecting Access database | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10613@lists.php.net to get a copy of this message | ||
Hi Mihai!
> $conn = odbc_connect( 'test' , ' ', ' ' );
>
> where test is the name of that database, then the output is smth. like
>
> Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not
> found and no default driver specified, SQL state IM002 in SQLConnect in
> c:\inetpub\wwwroot\test.php on line 11
Make sure all your details are correct.
$c = odbc_connect("odbc_name", "user", "password");
- Erik