Using WP_Query within an mu-plugin

I figured it out. I moved the reference to WP Alchemy within a function that fires after init. Everything now works great and I can use WP_Query within the setup files.

Here’s a code reference:

// WP Alchemy Setup
function jd_setup_wp_alchemy() {
    include_once WPMU_PLUGIN_DIR . '/jonathanwold/metaboxes/setup.php';
    include_once WPMU_PLUGIN_DIR . '/jonathanwold/metaboxes/cpt-spec.php';
}
add_action('init', 'jd_setup_wp_alchemy');

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)