This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Where is aegir mysql password stored?

Help

Where is aegir mysql password stored?

Hi,

I am using aegir 1.x. I can access db via phpmyadmin without any password. This was setup by someone else and he is not here anymore. I need to carry out db import work from command line because the file is too big for web interface. But I cannot find the mysql login details that aegir uses. Unfortunately noone knows the mysql root password either.

Does anyone knows where I can find this detail on the server? I can login to both apache server and sql server as root.

Does aegir use the mysql root account to handle db? If no, is it safe for me to reset mysql root password without affecting aegir?

Many thanks, Long

#1

It's in e.g. ~/.drush/server_master.alias.drushrc.php

Look for 'master_db'

#2

Awesome, thanks!

Need help?

Discussion

The discussion area lets your team communicate by posting updates and discussing issues. It is a great place for sharing progress, discussing challenges, and exploring ideas.