Your comments

i installed Ajenti, configured the mysql options (the only options are to put username and password), then I click on the mysql module link to try to use it to administer mysql.  I just get the error as described.

I am sure I put in my authorisation details correctly as these work perfectly if I just use mysql from the command line or using webmin (for which I am trialling Ajenti as a replacement).