SYBASEASEFORLINUX installation and perl connection SYBASE

Source: Internet
Author: User
Installation SybaseASEsybase-common-11.9.2-1.i386.rpmsybase-ase-11.9.2-1.i386.rpm installation SybaseOpenClientsybase-openclient-11.1.1-1.i386.rpm Source: http://www.sybase.com/products/dat

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 Methods: 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 redefine the path to/home/sybase: rpm -- relocate "/opt/sybase-11.9.2" = "/home/sybase"-hiv... run $ HOME/install/sybinstall. sh $ HOME /. profile, whose installation program is $ HOME/bin/srvbuild, must be run in Xwindows, already included in. profile. after installation, you also need to set the environment variable SYBASE =/home/sybase DSQUERY = sybase (servername) to install the package DBI-1.xx.tar.gz DBD-Sybase-0.xx.tar.gz required by perl dbi 1 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 test make install gunzip DBD-Sybase-0.xx.tar.gz tar xvf DBD-Sybase-0.xx.tar perl Makefile. PL make test make install 3 basic programming example :#! /Usr/bin/perl use DBI; my $ server = "sybase"; my $ dbh = DBI-> connect (dbi: Sybase:, sa ,, {syb_dbd_server =>$ server}); my $ Something = $ dbh-> prepare ("sp_help"); $ Something-> execute (); my $ text; while ($ text) = $ Something-> fetchrow) {print $ text. "";} exit (0 );

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.