[support] Database information

puregin puregin at puregin.org
Sat Jan 21 18:22:50 UTC 2006


     Have a look in the file settings.php in each of your sites'  
directories.

There will be a line of the form

$db_url = 'mysql://username:password@localhost/database'

around line 81 or so.

This will tell you the database corresponding to the site.

Djun

On 21-Jan-2006, at 9:58 AM, Bruce Whealton wrote:

> ,
>    I'm hoping there is a good way to figure this out.  I have  
> installed 3 different drupal installations in on the same  
> directory, each in it's subdirectory, of course.  I used Fantastico  
> to install them from the cpanel.  It created databases, myid_drpl1,  
> through myid_drpl4.  Is there a way to find out which database  
> corresponds to which installation on the system?  I suppose I can  
> try going into phpmyadmin and looking for data that might be  
> specific to a particular database, such as users.  Any other  
> suggestions?
> Thanks,
> Bruce
>
>




More information about the support mailing list