I know that I used DBI since I have a ‘use DBI’ statement in my Perl module. However, I do not know if I have used DBD::mysql since I have made no reference to it. If it is of any help to solve this question my ‘connection’ statement is of the following form $dbh = DBI->connect($dsn, ‘user’, ‘password’) where $dsn includes a reference to ‘DBI:mysql:host, the host name and the data base name.
If I am using the two facilities that you have referred to does it mean that it is as simple as replacing the ‘use DBI’ with ‘use DBD::ODBC’ and then making some changes to the connection call that reflect the need to connect to Access rather than MYSQL?
I apprecaite that this is probably a very simple question but is there a web page that has the DBD::ODBC docs?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|