Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: 500 internal server error when connecting to mysql database

by hv (Prior)
on May 20, 2023 at 18:24 UTC ( [id://11152347]=note: print w/replies, xml ) Need Help??


in reply to Re^2: 500 internal server error when connecting to mysql database
in thread 500 internal server error when connecting to mysql database

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11152347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found