cPanel access denied for user modsec at mysql localhost

If you get this email:


DBI connect(’modsec:localhost’,’modsec’,…) failed: Access denied for user ‘modsec’@’localhost’ (using password: YES) at /etc/cron.hourly/ line 19
Unable to connect to mysql database at /etc/cron.hourly/ line 19.

and you are using old cPanel/Apache 1.3 just goto whm -> Plugins then remove and reinstall mod_security.

If you have Apache2 installed and mod_security enabled via easyapache3 on cPanel 11 and you get this error, check password at /etc/cron.hourly/ and you can adjust password of modsec user through whm -> phpMyAdmin -> privileges

Nice huh?

Was this post helpful?