If you're asking which database to use with Perl, that's a decision that is constrained by any of the following: you, your team, your boss, your DBA, your service provider, and your financial capacity.

There are number of OpenSource or otherwise free databases out there. MySQL, and PostgreSQL are among the common ones in this category. PostgreSQL seems to be more advanced, while MySQL is more likely to already be installed on your Linux system. For lightweight work there is also SQLite, which stores its databases as single files.

Instead of getting into the nearly religious zealotry pitching one DB over another, I can point you to Wikipedia's article comparing relational databases. You would have to also check the CPAN to verify that there is a Perl Database Driver (DBD::???) for the database you're considering.

The canonical way to access a database with Perl is to install DBI, as well as the DBD for the specific database you're targeting (DBD::mysql, for example). If you want an object-oriented approach to dealing with the database, also install DBIx::Class and start reading its POD.

Hope this helps...


Dave


In reply to Re: give me one best DB(MSSQL,MySQl or Oracle)which is access from perl programs by davido
in thread give me one best DB(MSSQL,MySQl or Oracle)which is access from perl programs by sowraaj

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.