Hello Guest

Author Topic: babel 2.0 DB login errors in babel log  (Read 2211 times)

0 Members and 1 Guest are viewing this topic.

Offline zcool

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
babel 2.0 DB login errors in babel log
« on: October 23, 2008, 08:09:19 AM »
I have babel 2.0 setup and running. (on CentOs 5.2)
I have agents install on another Fedora 8 machine

my conf file has babel listed as the password but i get this message in the babel_server.log

Could not connect to database: Error 1045 when connecting: Access denied for user 'babel'@'localhost' (using password: YES).

What did I miss?

Offline Manuel Arostegui

  • Global Moderator
  • Expert member
  • *****
  • Posts: 853
  • Karma: 50
    • View Profile
babel 2.0 DB login errors in babel log
« Reply #1 on: October 23, 2008, 02:26:12 PM »
It's very clear, the server cannot connect to the database.

Alright, go to your /etc/babel/babel_server.conf
take a look at this fields:

user_name
password
hostname
db_name

and now do this:
mysql -u user_name -p -h hostname -D db_name

Change user_name, hostname and db_name for the values you have in the babel_agent.conf (the password will be asked once you press return)

Can you log into the database using that? Probably not :-)

Offline zcool

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
babel 2.0 DB login errors in babel log
« Reply #2 on: October 24, 2008, 07:27:26 AM »
that fixed it.

Thanks