in reply to Re^3: DBD mysql
in thread DBD mysql

Are you able to print the contents of @INC on the scripts that are working? Are the scripts that are working and are not working on the same machine?

UPDATE: For example, in your script that is working, right before the use DBD::mysql statement you could insert:

BEGIN { open my $fh, ">", "/tmp/name-of-script.INC.txt"; printf $fh "%s\n", join "\n", @INC; }
Also, are the scripts that are working and not working running under the same user?