Same Webmin/mySQL problem for many, but no fix?

Matsaki

Registered
I have found others by googling that have the same problem, but no solution?

Is there a solution fir this?? When looking at my mySQL 4.1.8 database in Webmin I have the error message:

Warning: The Perl module DBD::mysql is not installed on your system, so Webmin will not be able to reliably access your MySQL database. Click here to install it now.

After running the install I get the error:

Installation of DBD::mysql failed. Check the output above and try installing manually.

The error is: "make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255"

I think many people have the same problem so there must be a solution :)
 
Download the DBD-mysql-2.1028.tar.gz module directly from CPAN (click that link to download it) and install it manually in the terminal.

Most PERL modules are made in this way (though I've never built that particular one, so read the instructions anyway, contained in the tar.gz file)

> curl -O http://www.cpan.org/authors/id/J/JW/JWIED/DBD-mysql-2.1028.tar.gz
> su
# tar xvzf DBD-mysql-2.1028.tar.gz
# cd DBD-mysql-2.1028/
# perl Makefile.pl
# make
# make check (or make test)
# make install
 
Michael hit it on the head. Once I installed the module manually - my DBD errors went away in Webmin.
 
Back
Top