The output indicates that it couldn't find any database type running. Do you have an applicable database your preferred database type installed and running?
If your www server is chroot you may need to add a socket for mysql within the chroot. Or connect with tcp.