Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
6.x-0.4-alpha2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2009 at 10:30 UTC
Updated:
21 Jun 2010 at 03:53 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedActually this error occurs when the mysql superuser is not able to use the 'mysql' database after making a connection.
From .drush/provision/db_server/provision.mysql.inc
So it is more likely that your mysql superuser does not have the correct privileges.
Double-check that the 'aegir_root' superuser has been given a grant like this:
Confirm that the credentials in the hosting_db_server table in the aegir database match these credentials (SELECT * FROM hosting_db_server)
Then try and re-run the task.
Comment #2
jamiet commentedThanks for the response mig5. I found the same piece of code via a few greps after the debug output. Based on your comment on the the other issue I removed the settings.php file in sites/default.
I checked mysql privileges using phpmyadmin and the aegir_root user has the privileges you refer to and checking the hosting_db_server table confirms the credentials match the mysql privileges tables. Can you think of any other debugging I can do?
TIA,
JamieT
Comment #3
jamiet commentedOK - once I sussed the issue with su -s /bin/bash aegir I decided I should run the hosting setup command again. This didn't seem to do anything more (but I remembered I ran it the first time as sudo -u aegir). I then run the provision verify command again and it didn't error at all! :).
Checking the task on the web frontend and it is now successful. I will hope over to the other issue with some explanations and hope that helps the OP.
Thanks for your help,
JamieT
Comment #5
socialnicheguru commentedI have the same issue but can't seem to figure out how to get rid of it.
In addition, I have:
undefined index: base_url
Undefined index: db_url
I had to do part of my install manually so I did not have aegir.example.com created as a subdirectory of default which I think happens in the script.
Any suggestions would be greatly appreciated.
Comment #6
adrian commented#5 - this is not the same error as the initial ticket, and those are notices, not even warnings.