On Thu, Jul 7, 2011 at 6:51 PM, Vijay Kumar <vijayakumarnkdr at gmail.com>wrote:
Dear all,
I want to take backup mysql database through cron, I have executed this
command
/usr/bin/mysqldump -u root -p(xxxxx) king | gzip > /backups/king_`date
+%y_%m_%d`.gz
It shows this error -
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost'
(using
password: YES) when trying to connect