gmcust3 wrote::)
How can One access the DB using cron if I have changed root and mysql password ?
you stated that incorrectly LOL (just pickin' on you)
you did not change "mysql password". You changed the
root mysql password. the
cron mysql password has different access (for instance, it cannot create new users ... but it does have read/write access to ... the asterisk database which is where vicidial stores its data).
if you have a user named cron and a password of 1234 on your system (by default) and you have allowed access for this user from a location other than "localhost" (which is necessary for multi-server and seems to be the default, although i have not checked in GoAutoDial personally), and you have NOT restricted the IP address from which cron may interact with mysql (which would mean new users would have to figure out how to do modify that ip address, ouch, so that's not default) ... then anyone on any ip address who can get past the mysql port and into your box ... can use those credentials to modify/delete/add data at will.
so close the mysql port, ip lock your entire system, change the cron password, lock cron to a specific address list OR localhost ... or all of these.