I'm not sure how an Ingres database works but if it is anything like Oracle your 'mydb' is a reference to a database defined in your current system on some host.

In Oracle this identifier is called a tnsname and is usually defined in a file called tnsnames.ora. That file lists the tnsnames and the host, db name (SID), and port that are needed to connect.

For example: when I connect to our development oracle database I use "DBI:Oracle:dev" as the database name. In our tnsnames file on the machine I'm working on there is an entry defining "dev" as a database called "MWH" located on the host "cosmora01d" and port "1521".

So the question is to you, what is mydb actually referring to and is there something similar in Ingres

Update:

I just looked at the CPAN DBD::Ingres pod...
http://search.cpan.org/~htoug/DBD-Ingres-0.51/Ingres.pm
and it refers to this syntax...
  DBI:Ingres:thatnode::thisdb;-xw -l
to connect to a Ingres/Net database


In reply to Re: DBI Host question by mifflin
in thread DBI Host question by mlhmich

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.