I come before you with great confusion and a few less clumps of hair.....
When I use DBI:mSQL, I can connect to the mSQL db. But when I try to connect to the MySQL db and use DBI:mysql, the error log keeps giving me: install_driver(mysql) failed: Can't find loadable object for module DB
+D::mysql in @INC (/usr/libdata/perl5/DBD/ /usr/libdata/perl5/i386-bsd
+os/5.00402 /usr/libdata/perl5 /usr/libdata/perl5/site_perl/i386-bsdos
+ /usr/libdata/perl5/site_perl /usr/libdata/perl5/site_perl/i386-bsdos
+/include .) at (eval 1) line 2
Perhaps DBD::mysql was statically linked into a new perl binary.
In which case you need to use that new perl binary.
Or perhaps only the .pm file was installed but not the shared object f
+ile.
Do I have to change some link somewhere? I even tried using: use lib '/path/to/DBD'
thanks for your time-
(help me save my hair ;)
-
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.
|