In other words, you need configure Windoz to add the data source. Start |
Settings | Control Panel | Data Sources (ODBC). You'll have to check your
manuals, what entries go in this section... (Beyond the scope of Perl
Beginners list).
Bruce W. Lowther
[EMAIL PROTECTED]
Micron Technology, Inc.
Boise, Idaho
-----Original Message-----
From: M.W. Koskamp [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 10:50 AM
To: justin todd; Beginners (E-mail)
Subject: Re: db connect
----- Original Message -----
From: justin todd <[EMAIL PROTECTED]>
To: Beginners (E-mail) <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 6:30 PM
Subject: db connect
> Hi Folks
>
> I am running a IIS server and MSSQL7, both on the same machine.
>
> The database server is called JUSTIN. The database is called test and
> the table is called test.
>
> This is my connect string.
> $dbh = DBI->connect('DBI:ODBC:test','****');
>
> This is my error.
Data source name not found and no default driver specified
I think this line explains it.
There is no known ODBC datasource by the name of 'test'