1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Unable to connect to MySQL database while installing PERL script

Discussion in 'MySQL' started by gregdavidson, Sep 8, 2019.

  1. #1
    I just attempted to install a PERL script on my Godaddy Linux hosting account and I keep getting this message:

    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @inc (@inc contains: Modules . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 9) line 3.
    Perhaps the DBD::mysql perl module hasn't been fully installed,
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
    at install.cgi line 79

    The database is setup but I can't connect to it. What am I doing wrong here?
    gregdavidson, Sep 8, 2019 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Likes Received:
    Best Answers:
    Trophy Points:

    Has the DBD::mysql perl module been installed, and it is available? Even if you have MySQL (the server) available, you will still need the module installed to talk to it.

    RHS-Chris, Sep 9, 2019 IP