Perl中操作Mysql示例
#!/usr/bin/perl -w my $dbh = DBI->connect("DBI:mysql:database=clientInfo;host=192.168.1.22","wuwu","123456",{'RaiseError' => 1}); #统计总人数 while(my $countref = $countsth->fetchrow_hashref()) $dbh->disconnect(); (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |