Date: 11/27/01
- Next message: Keith Whyman: "[PHP-DB] gzip image files"
- Previous message: biorn <email protected>: "RE: [PHP-DB] get the record id of the last addition in a table"
- In reply to: Miles Thompson: "Re: [PHP-DB] problems in connecting Access database"
- Next in thread: Keith Whyman: "[PHP-DB] gzip image files"
- Reply: Keith Whyman: "[PHP-DB] gzip image files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mihail,
> >$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
Miles is correct with regards to using a System DSN.
Other things that can cause that error include mispelling the DSN name, etc.
but you don't appear to be using a DSN yet.
Create one in the ODBC Administrator (the ODBC Driver Manager) using the MS
Driver for Access and you should be all set.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Keith Whyman: "[PHP-DB] gzip image files"
- Previous message: biorn <email protected>: "RE: [PHP-DB] get the record id of the last addition in a table"
- In reply to: Miles Thompson: "Re: [PHP-DB] problems in connecting Access database"
- Next in thread: Keith Whyman: "[PHP-DB] gzip image files"
- Reply: Keith Whyman: "[PHP-DB] gzip image files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

