Hi!,

I am lost!  I am running in win 98 and my perl code is:

#!perl

  use strict;
  use DBI();

  # Connect to the database.
  my $dbh = DBI->connect("DBI:mysql:database=club;host=localhost",
                                           "jwp", "xxxxx",
                                         {'RaiseError' => 1});

  $drh = DBI->install_driver("\mysql");

I am not sure what is wrong.

I get the following error:

"Global sysmbol "$drh" requires explicit package name at dbtest.pl line 12"

Am I going about the the correct way?  I have created the table and added a number if 
items to the table.
I can look at the table with WinMySQL.adminVer 1.4 for Win95/Win98/NT/Win2000.

Thanks ,

Jerry




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to