Re: Working with Perl
What is open_dbi()? That sounds like a wrapper subroutine somebody created. If you are using a Unix system, the DBI and DBD::mysql man pages are good starting points:
man DBI
man DBD::mysql
There are also some good tutorials on the Internet. Here is one:
http://www.perl.com/pub/a/1999/10/DBI.html
A basic script to connect and disconnect would be something like:
#!/usr/bin/perl -w
use DBI;
$dbh= DBI->connect("dbi:mysql:database=test;host=localhost", "", "");
$dbh->disconnect;
-Dave
Edited 1 time(s). Last edit at 10/02/2006 09:38AM by David Shrewsbury.
Subject
Written By
Posted
Re: Working with Perl
October 02, 2006 09:36AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.