wallg
07-19-2008, 10:31 PM
Is there a database interface library available for UNIX scripting? (such as Perl has oraperl and sybperl)
Thanks.
Thanks.
|
Click to See Complete Forum and Search --> : UNIX scripting - database interface library? wallg 07-19-2008, 10:31 PM Is there a database interface library available for UNIX scripting? (such as Perl has oraperl and sybperl) Thanks. chazzy 07-20-2008, 10:54 AM probably dependent on what shell you're using and what flavor of unix you've got. wallg 07-20-2008, 02:32 PM It is Korn shell or Posix shell on HP-UX 11i. Database will probably be MySQL or Sybase. (Unless you have another recommended DB) chazzy 07-20-2008, 09:15 PM It is Korn shell or Posix shell on HP-UX 11i. Database will probably be MySQL or Sybase. (Unless you have another recommended DB) Well with kshell I'm fairly certain you're limited to executing everything via a secondary command line app (such as the mysql command, or sqlplus). So you'd be stuck just sending everything via command line like this: mysql -u user -ppassword commands.... Unfortunately, I know nothing about posix. drhowarddrfine 07-21-2008, 12:02 AM Posix shell? Never heard of it. It can be Posix compliant but is there a Posix shell? NogDog 07-21-2008, 03:43 AM Well with kshell I'm fairly certain you're limited to executing everything via a secondary command line app (such as the mysql command, or sqlplus). So you'd be stuck just sending everything via command line like this: mysql -u user -ppassword commands.... Unfortunately, I know nothing about posix. That's what I used to do, using SQL*Plus commands within a Korn shell to connect to an Oracle DB. Been quite a few years since I did that, though. :) In any case, note that Perl (or PHP for that matter, too) scripts can be run as command line scripts, allowing you to use available/built-in DB libraries; and most *nix hosts these days have both installed. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |