in reply to Regarding perls db connectivity issue

It is a very reasonable guess that you need to use CPAN to re-install the various modules involved, including the MySQL driver.

“XS” code is the underlying C/C++ software that glues Perl to the drivers.   When you change from 32-bit to 64, those drivers are going to change too, and that means that new glue is required.