0

i'm trying to install zenoss on a ubuntu-14.04 virtual machine. I followed the following guide "https://help.ubuntu.com/community/Zenoss". After some errors with dependencies, I have the following error

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

In many posts and guides they say that i will be asked for the mysql root password, but i didnt :/

Perhaps any of you had the same problem or have a tipp or soultuion for me.

Thanks :)

Scorn
  • 1
  • What MySQL version? – dawud Jul 09 '14 at 07:44
  • 1
    Also, the 14th step in the guide you refer describes how to set a password for the `root` account of the database. – dawud Jul 09 '14 at 07:46
  • Version is Server version: 5.5.37-0ubuntu0.14.04.1 (Ubuntu), i have set an password for the mysql server but the zenoss script doesnt ask during install – Scorn Jul 09 '14 at 13:00

1 Answers1

0

I don't know why it's not asking for the password, but to complete the install you could drop a .my.cnf into the installing user's home directory containing

[client]
user = root
password = MySecurePassword

Of course you'll need to figure out how to tell zenoss the password once it's installed, but at least this will get you a bit further. Don't forget to make the file's permissions secure and remove it afterwards.

Flup
  • 7,978
  • 2
  • 32
  • 43