Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Another Tuning Article for subheap of shared pool Oracle
  • Wait.sql Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Search and Replace vi editor command. Linux/Unix
  • alter database backup controlfile to trace Oracle
  • checking redhat linux version Linux/Unix
  • Find Plan Hash value fphv.sql Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • export import with parameter file. Oracle
  • move_arch_files.ksh Linux/Unix
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Oracle Connections expire_time and firewall Oracle
  • on IBM-AIX for display 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

  • newupload.html PHP/MYSQL/Wordpress
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • upload.html PHP/MYSQL/Wordpress
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • How to hide author name in WordPress BLOG 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

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • runsql_once.ksh Linux/Unix
  • Paste command syntax Linux/Unix
  • SQL_PLAN.sql for checking real execution plan Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • JSON/XML Types in Oracle Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • find_idle_cpu.sql Oracle
  • Multiple listeners Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme