Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Renaming Global Name GLOBAL_NAME Oracle
  • Absolute file number and relative file number Oracle
  • cif crons Linux/Unix
  • column level grant syntax Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Generate SSH without password authentication. Linux/Unix
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • DBMS_SQL for alter session. Oracle
  • Clean up Oracle
  • Changing unix system clock when Oracle database is running. Oracle

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

  • Jai Shree Ram PHP/MYSQL/Wordpress
  • upload.html PHP/MYSQL/Wordpress
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Shuffle an array PHP/MYSQL/Wordpress
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • newupload.html 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 (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • How to stop OCSSD Daemon Oracle
  • column level grant syntax Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • adding new line after specific pattern using sed Linux/Unix
  • Rman Notes -1 Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • The most important Tuning Notes Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme