MySQL Forums
Forum List  »  Perl

disconnecting from DB with perl Mysql module
Posted by: Fabio Piergentili
Date: November 18, 2009 04:45PM

I am using Mysql module

use Mysql;

I connect to the DB and do things....


how do you disconnect?

If I use DBI I can use the database handle dbh->disconnect but with Mysql module I can't.

my $connection = Mysql->connect($host, $database, $user, $pw);
I can't use
$connection->disconnect()

Anyone know how to disconnect when using Mysql perl module?

Options: ReplyQuote


Subject
Written By
Posted
disconnecting from DB with perl Mysql module
November 18, 2009 04:45PM


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.