This issue is actually for v6.x-0.4-alpha10, but that is not an option.
I'm not sure if this is Fedora 13 specific or if this is happening on all Red Hat based systems, but when I should be prompted for the root password it instead automatically errors out with the following:
Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
==> Drush found in /var/aegir/drush/drush.php, good
==> Drush seems to be functionning properly
==> Provision already seems to be installed
==> Installing the frontend
The external command could not be executed due to an application [error]
error.
SQLSTATE[HY000] [1130] Host 'hosting' is not allowed to connect to [error]
this MySQL server
Drush command could not be completed. [error]
Output from failed command : [error]Fatal error: Call to a member function quote() on a non-object in
/var/aegir/.drush/provision/db/db.drush.inc on line 311An error occurred at function : drush_provision_hostmaster_install [error]
I am never given the opportunity to enter the password, the script just keeps going.
Cheers,
Antoine
Comments
Comment #1
rossy commentedyes. the same to me in CentOS. then I added the password into Shell script like this: mysql -uroot -ppassword. and it would promoted.
Comment #2
anarcat commentedCould you try to see if "drush_prompt" works for you?
Normally, once provision and drush are downloaded, you should be able to just run:
... which will prompt you for the aegir host.. If that works, then try the git branch suggested in #894004: install.sh lies about mysql listen AKA move the mysql creds handling to hostmaster-install. We could just get rid of those mysql commands in install.sh.txt...
Comment #3
anarcat commentedi believe this is fixed in head as we moved the db credentials handling to the PHP script, which prompts with drush_prompt and should be more reliable. can you try again on head?