Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DBA_HIST_SQLSTAT contents Oracle
  • DBMS_JOB all example Oracle
  • import-export with multiple files Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • SAN Linux/Unix
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Jai Shree Ram Linux/Unix
  • JSON/XML Types in Oracle Oracle
  • Postgres DB user and OS user. POSTGRESQL
  • create a folder in multiple places Linux/Unix
  • Facts about SCN and Rollback Segment Oracle
  • how to find OS block size Oracle
  • 10g oem configuration Oracle
  • Some OS level threshold for performance. Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix

For Perl DBI installation and testing program

Posted on 08-Jun-2006 By Admin No Comments on For Perl DBI installation and testing program

http://www.cedet.dk/perl/

#!c:perlbinperl

use DBI;

# Following line is necessary of you are using perl to write html in browser.

print “Content-type: text/htmlnn”;

print ““;

print “CGI Test“;

print ““;

print “

Newer Verion of File Management Operations !

“;

my $dbname = “pvmeh”; ## DB Name from tnsnames.ora

my $user = “pvmeh”;

my $passwd = “pvmeh”;

print “$dbname”;

print “
“;

#### Connect to the database and return a database handle

$dbh = DBI->connect(“dbi:Oracle:${dbname}”, $user, $passwd);

if($dbh){

print(“Connected as user $usern”);

} else {

print(“Failed to connect!n”);

exit;

}

print ““;

PHP/MYSQL/Wordpress

Post navigation

Previous Post: catting.sh
Next Post: How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep)

Related Posts

  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • upload.html PHP/MYSQL/Wordpress
  • Jai Shree Ram PHP/MYSQL/Wordpress

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • RAC with RHEL4 and 11g Oracle
  • Handling LOB data in Oracle Oracle
  • Jai Shree Ram Oracle
  • sesswait.sql Oracle
  • block_ident.sql Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme