Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: opening a database file

by grashoper (Monk)
on Jan 30, 2008 at 21:28 UTC ( #665224=note: print w/replies, xml ) Need Help??

in reply to Re: opening a database file
in thread opening a database file

I may have to give up on this one, here is attempt number 2.
!/usr/local/bin/perl -w # use DBIx::AnyDBD; use strict; my $db=DBIx::AnyDBD->connect("dbi:Sybase:$database","dba","sql"); my $database = "FirstAm.bdb"; my $data_source = "DBI:AnyDBD:$database"; my $username = "UID=dba;PWD=sql;ENG="Foc_SageNet"; my $dbh = DBI->connect( $data_source, $username, '' ); or die "Can't connect to $data_source: $dbh->errstr\n"; $dbh->disconnect; exit(0);

Replies are listed 'Best First'.
Re^3: opening a database file
by mpeppler (Vicar) on Jan 31, 2008 at 07:33 UTC
    Errr.... just posting the code without any results or error messages won't really be any use - we can't guess what is broken.

    However, I'm pretty sure that you can re-download and re-install an eval version of SQL Anywhere, and then open the db file that way.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://665224]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-12-04 15:06 GMT
Find Nodes?
    Voting Booth?
    How often do you use taint mode?

    Results (60 votes). Check out past polls.