Why would you need another instance of WPDB (which also implies another db connection)? You can just add your custom table to the existing wpdb instance: $wpdb->custom_table = $wpdb->prefix . 'custom_table'; -- http://scribu.net