Problems running bash script with mysql command under root
Hi,I have a bash script that I installed under root to check and optimize the databases. The contents basically had (with the bin/bash at the top):
"mysqlcheck -n"
or something along those lines (cant check right now, I'm at work).
But I get a cron email saying this:
Access denied for user: 'root@localhost' (Using
password: NO) when trying to connect
----------