CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI:
dbi:Sybase

 



justinn
New User

Oct 7, 2009, 11:29 AM

Post #1 of 1 (4543 views)
dbi:Sybase Can't Post

hi,

I have been playing with catalyst, and i wanted to retrieve the schema files for my Database, but i keep getting this error.

i run
script/SomeApp_create.pl model DB DBIC::Schema SomeApp::Schema create=static exclude='sys' dbi:Sybase:server=SERVERNAME user pass

and i get the error
DBI connect('HASH(0x9edbac0)','',...) failed: OpenClient message: LAYER = (6) ORIGIN = (8) SEVERITY = (5) NUMBER = (3)
Server HASH(0x9edbac0), database
Message String: ct_connect(): directory service layer: internal directory control layer error: Requested server name not found.
at /usr/lib/perl5/site_perl/5.8.8/DBIx/Class/Storage/DBI.pm line 839
DBIx::Class::Schema::Loader::make_schema_at(): DBI Connection failed: OpenClient message: LAYER = (6) ORIGIN = (8) SEVERITY = (5) NUMBER = (3)
Server HASH(0x9edbac0), database

My ENV variables and interface files are correct,

i can connect via DBI->connect('SERVERNAME', 'user', 'pass')


which leeds me to belive there is something wrong with connection info "dbi:Sybase:server=SERVERNAME user pass"

I cannot find anyhitng on the net with reference to dbi:Sybase.

Anyone dealt with this before?

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives