Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Tuesday, August 3rd at 3pm PST / 6pm EST. Learn more
  • GoDaddy Community
  • GoDaddy Website Builders
  • GoDaddy Website Builders

    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Connecting Perl Script to MySQL

    Have been trying to get an old Perl script moved over to a new GoDaddy hosting account. The account is a deluxe Linux hosting account.


    The script needs to reference MySQL and I've used the example shown at to figure out the code. However, the script is choking on the following line, which is the first referencing anything MySQL-specific:


    $drh = DBI->install_driver("mysql");


    The script does (displays) everything that comes before this line, but nothing after it. OTOH, adding the other $dbh causes a full-on internal server error.


    Have seen similar posts ( that suggest that the issue is related to not having the Perl MySQL module installed. Have looked up the correct modules (, which appear to be these: DBI, DBD::mysql, and Net:MySQL maybe. All three of these are installed now, but am still seeing the issue. 


    Any help? If more details needed, please lmk. I'm not experienced with error handling, but my "or die" never happens so I don't know what the error is that's being thrown off here.





    1 REPLY 1
    Community Manager

    Hi @2sigmas. Welcome to GoDaddy Community! I'm not sure why your script isn't working. I'd suggest posting the full script (minus any login information of course). That way, others can look at it and see if they can spot any other issues within it. Hope you're able to figure this out. 


    JesseW - GoDaddy | Community Manager | 24/7 support available at | Remember to choose a solution and give likes.