Closed (fixed)
Project:
Hosting
Version:
6.x-0.4-alpha3
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2011 at 22:10 UTC
Updated:
31 May 2011 at 17:38 UTC
Hi,
I was wondering if there is an easy way to look for the database details? the only way I found so far it is accessing in SSH to the files here
/var/aegir/config/server_master/apache/vhost.d
Thanks,
Celia
Comments
Comment #1
steven jones commentedThe idea with Aegir is that most of the time you shouldn't need to care about the exact connection details, if you need to connect to the database, you can use drush (as the aegir user):
If you just want to know what they are, then use the drush status command:
Comment #2
celia_ccs commentedThanks, but I didn't find out how to find the password with your method.
The reason why I'm looking for this information, it is to give access to phpmyadmin to external developers. So they just access the DB of the Drupal install they are working on.
Comment #3
steven jones commentedAh righto, well it may well change as you migrate/clone your site, but it can be found in the drush rc file in your site specific folder, i.e.
Or as you said, in the apache vhost file.
Aegir has no further need to store the password, so doesn't.
Comment #4
anarcat commentedYou can also use:
Comment #5
celia_ccs commentedThanks guys! that's really helpful.
Comment #7
j0nathan commentedI opened an issue with another solution to start with:
#1174440: provide a way to show site's DB username/password in the frontend