in reply to dbd-mysql permission denied

Start by verifying that the library-file exists, and that it is accessible for r-x access by the world.   Then, be sure that you have run the /sbin/ldconfig command, which will require Root privileges, to update the loader’s library lookup cache.