On Wed, 12 Nov 2003 13:48:26 -0500, Larry Sandwick wrote:
> #! /usr/bin/perl

Always:

  use strict;
  use warnings;

> use DBD::mysql;

No need to.  DBI will take care of this (when you declary the database
type to be 'mysql').

> $dsn = "DBI:mysql:webmaster,blackhole";

  my $dsn = "DBI:mysql:database=webmaster;host=blackhole";

As long as the user has access to the database 'webmaster' on the host
'blackhole', this should work.  If it doesn't, then you should surf over
to www.mysql.com and read the documentation.


-- 
Tore Aursand <[EMAIL PROTECTED]>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to