Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002

    Unhappy Unanswered: DBI - Sybase Connectivity - urgent please

    Hi ,

    Machine : Windows 2000 advanced server, Perl 5.8, Sybase 12.5

    I am trying to connect to my Sybase Server using DBI. Using following script:


    use DBI; # Load the DBI module

    my ($DBserver, $DBdatabase, $DBuser, $DBpassword) = ('SYBPR','master','test','test123');

    my $sdbh = DBI->connect("DBIybase:server=$DBserver;database=$DBdatabase",$DBus er,$DBpassword)
    or die "Can't connect to Sybase database: $DBI::errstr\n";


    GETTING following output :

    install_driver(Sybase) failed: Can't locate DBD/ in @INC (@INC contains
    : D:/Perl/lib D:/Perl/site/lib .) at (eval 1) line 3.
    Perhaps the DBD:ybase perl module hasn't been fully installed,
    or perhaps the capitalisation of 'Sybase' isn't right.
    Available drivers: ExampleP, ODBC, Proxy, XBase, mysqlPP.
    at line 7

    I search for , no luck in my perl directory.

    I installed DBI through Perl Package Mamager.

    Please help.

    Thank you,

  2. #2
    Join Date
    Sep 2002
    Germany, near Aachen
    You have to install DBD:ybase.

    Normally you could get it from activestate and install it with ppm.

    But it seems, they haven't built it yet for windows.

    You have to contact activestate somehow and ask them to provide DBD:ybase for Perl 5.8.

    As I don't use Perl on windows I can't help you further.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts