I was able to find an error log under cpanel, even though GoDaddy told me I only had access to PHP error logs. The error I am seeing is:

/usr/bin/perlml: relocation error: /home/b3mtw1376jad/perl5/lib/perl5/ +x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so: symbol mysql_optio +ns4, version libmysqlclient_18 not defined in file libmysqlclient.so. +18 with link time reference

I assume this error in the error log is the answer to my problems?

Almost certainly it is, yes: at the point of loading the DBD::mysql shared library, it is giving an error that one of the symbols it expects to see in the additional libraries it links to has not been found.

I suspect this means that when the server admin built DBD::mysql they built it against a different version of the mysql libraries than are currently on this server. That is something the server admin will need to fix, and not something you will be able to fix or work around yourself (to the best of my knowledge).

Hopefully contacting them with that error message should be sufficient for them to diagnose and fix the issue.


In reply to Re^3: 500 internal server error when connecting to mysql database by hv
in thread 500 internal server error when connecting to mysql database by mcfarnell

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.