I have installed
DBD::Sybase and
FreeTDS to connect MS SQL Server from my linux box. It works, but I have to connect mirrored database instances. Because I have no clue which mirror is active, I try to connect all mirrors; when I connect the active mirror, all is OK, but when I try to connect non-active mirror, DBD driver prints following message to stderr, even though I have used
{RaiseError=>1,PrintError=>0,PrintWarn=>0,AutoCommit=>0}
attributes and connect method is called in
eval{} section:
DBD::Sybase - can't change context to database DBNAME
Does somebody know how to suppress that message?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.