[support] query different database other than drupal one

Gaurav Khambhala gaurav at deeproot.co.in
Thu Apr 30 09:55:47 UTC 2009


Hi Justin,

Justin Gruenberg wrote:
>> Need to search/read some data(basically a search form which will result
>> records) from a database other than drupal one.And display it inside drupal.
>>
>> Will following be enough ?
>>
>> http://drupal.org/node/18429 (db_set_active)
>>
> 
> I'm not sure how well that works, hopefully someone more knowledgeable
> will chime in.  But the Table Wizard  (drupal.org/project/tw) module
> might help you out depending on your exact situation.

Thanks for quick input.

Quote from tw project page:
"It allows surfacing any table in the Drupal default database through 
Views 2."

Wherein our requirement is to interact with totally different mysql 
database than drupal's default one.



-- 
Cheers,
Gaurav Khambhala
i-hack-at-DeepRoot Linux
Getting GNU/Linux to work for you. Faster. Better. Today. Every way.
http://www.deeproot.in, +91 80 4089 0000


More information about the support mailing list