| Install DBD::MySQL problem |
|
|
| Written by Administrator | ||||||
| Monday, 04 December 2006 | ||||||
Install DBD::MySQLcpan cpan> No cpan> install DBI cpan> install DBD::mysql If you run in this errormessage: Failed 16/18 test scripts, 11.11% okay. 723/730 subtests failed, 0.96% okay. make: *** test_dynamic Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Then do this: cpan> o conf makepl_arg "--testpassword=PASSWORD --testuser=USERNAME" And retry: cpan> install DBD::mysql_ cpan> exit If that doesn't work do a force installation: cpan> force install DBD::mysql which will force it to complete the installation. If your error message is like: dbdimp.c: In function `mysql_db_last_insert_id': then you must install mysql-devel and perl-DBD-mysql at first. On Fedora or CentOs an yum run this command yum install mysql-devel Add as favourites (48) | Quote this article on your site | Views: 491
Write Comment
Powered by AkoComment Tweaked Special Edition v.1.4.5 |
||||||
| Last Updated ( Tuesday, 05 December 2006 ) | ||||||
| < Prev | Next > |
|---|




