Replaced server_prepare with prepare
Set mysql_server_prepare and pg_server_prepare in _db_connect() to true. Why was it false and then enabled per query?