Install Sybase ASE sybase-common-11.9.2-1.i386.rpm sybase-ase-11.9.2-1.i386.rpm install Sybase openclient SYBASE-OPENCLIENT-11.1.1-1.I386.RPM Source: Http://www.sybase.com/products/databaseservers/linux/thankyou1192.html method : Rpm-hiv sybase-common-11.9.2-1.i386.rpm Rpm-hiv sybase-ase-11.9.2-1.i386.rpm Rpm-hiv sybase-openclient-11.1.1-1.i386.rpm its default installation path is/opt/sybase-11.9.2 if you need to reset the path to/home/sybase:rpm--relocate "/opt/ sybase-11.9.2 "="/home/sybase "-hiv ... Run the $HOME/install/sybinstall.sh $HOME/.profile Its installer is $home/bin/srvbuild and needs to run under Xwindows and is included in the. Profile. Setting environment variables after installation sybase=/home/sybase dsquery=sybase (ServerName) installs the required package for Perl DBI 1 dbi-1.xx.tar.gz dbd-sybase-0.xx.tar.gz Source: Http://www.perl.com/CPAN-local/authors/Michael_Peppler/http://www.perl.com/CPAN-local/modules/by-module/DBI /TIMB/2 installation Method Gunzip dbi-1.xx.tar.gz tar xvf dbi-1.xx.tar perl makefile.pl make make test make install Gunzip dbd-sybase-0 . xx.tar.gz tar xvf dbd-sybase-0.xx.tar perl makefile.pl make do test make install 3 BASIC programming Paradigm: #!/usr/bin/Perl use DBI; My $server = "Sybase"; My $dbh = Dbi->connect (dbi:sybase:,sa,,{syb_dbd_server=> $server}); My $sth = $dbh->prepare ("sp_help"); $sth->execute (); My $text; while ($text) = $sth->fetchrow) {print $text. "";} exit (0);
http://www.bkjia.com/PHPjc/531692.html www.bkjia.com true http://www.bkjia.com/PHPjc/531692.html techarticle install Sybase ASE sybase-common-11.9.2-1.i386.rpm sybase-ase-11.9.2-1.i386.rpm install Sybase openclient sybase-openclient-11.1.1-1.i386.rpm Source: Http://www.sybase.com/products/dat ...