Can't access Mailwatch

Discuss the ConfigServer MailScanner Front-End script
Post Reply
gdwoods
Junior Member
Posts: 2
Joined: 24 Nov 2013, 11:48

Can't access Mailwatch

Post by gdwoods »

I've been using mailwatch for years, but recently I am getting this message when I load it:
Could not connect to database: Access denied for user 'mailwatch'@'localhost' (using password: YES)
I haven't changed any passwords, so I'm puzzled. I re-installed, and saw this message:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Shutting down MailScanner daemons:
MailScanner:
Waiting for MailScanner to stop...
Starting MailScanner daemons:
MailScanner:

Unable to initialise database connection: Access denied for user 'mailwatch'@'localhost' (using password: YES) at /usr/mailscanner/lib/MailScanner/MailWatch.pm line 83
Could not use Custom Function code MailScanner::CustomConfig::InitMailWatchLogging, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: Can't call method "prepare" on an undefined value at /usr/mailscanner/lib/MailScanner/MailWatch.pm line 86.
) at /usr/mailscanner/lib/MailScanner/Config.pm line 1067
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: Can't access Mailwatch

Post by Sarah »

Try changing the mysql root password (via WHM) to something with *only* letters and numbers, no symbols or special characters. Then try reinstalling MSFE again. If that doesn't work, please submit a ticket on the helpdesk and we'll take a look.
gdwoods
Junior Member
Posts: 2
Joined: 24 Nov 2013, 11:48

Re: Can't access Mailwatch

Post by gdwoods »

I followed these steps and still get the error
Post Reply