Failed MySQL login

Everything related with getting rsyslog up and running (but not beyond that point ;))

Moderator: rgerhards

Failed MySQL login

Postby jcardina on Wed Sep 28, 2005 9:29 pm

I am getting a failed MySQL login message when I start rsyslogd. I can login using the credentials manualy ( mysql -u mysql --password=logd Syslog ) ... no problem, but for some reason when the command is ran from my rsyslog.conf is does not work. I have attached my rysyslog statement and error code below.

error from rsyslogd -d -

cfline(*.* >127.0.0.1,Syslog,mysql,logd) - traditional PRI filter
symbolic name: * ==> 255
leading char in action: >
template ' StdDBFmt'
Called logerr, msg: db error (1045): Access denied for user 'mysql'@'netlog.adminastar.com' (using password: YES)

logmsg: syslog.err<43>, flags 4, from netlog, msg rsyslogd: db error (1045): Access denied for user 'mysql'@'netlog.adminastar.com' (using password: YES)


rsyslog.conf database statement -

*.* >127.0.0.1,Syslog,mysql,logd

any ideas ......
jcardina
New
 
Posts: 1
Joined: Wed Sep 28, 2005 9:23 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

RE: Failed MySQL login

Postby rgerhards on Thu Sep 29, 2005 4:24 pm

Just trying... might it be that the "mysql" user does not have insert permissions on the table?

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 1667
Joined: Thu Feb 13, 2003 11:57 am

Same issuse

Postby binarykuki on Wed Oct 05, 2005 4:28 pm

I have same issue. I can change the password of the user account and then login to Mysql and access the database from the same user that i am using with rsyslogd to enter information in the databsae.
binarykuki
 

RE: Same issuse

Postby rgerhards on Wed Oct 05, 2005 4:29 pm

Do you have exactly the same error message or is something different?
User avatar
rgerhards
Site Admin
 
Posts: 1667
Joined: Thu Feb 13, 2003 11:57 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron