Can anyone help please,
I am running moodle on a Windows 2003 server, on Apache with MYSQL.
When I use this command
D:\backup>d:\mysql\bin\mysqldump --user=root --password=***** moodle 1>D:\backup\moodledump.sql
From the command line it works great,
but when I include the line in a .CMD batch file for scheduling, the command returns this error.
D:\backup>d:\mysql\bin\mysqldump --user=root --password=***** moodle 1>D:\backup\moodledump.sql
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using pas
sword: YES) when trying to connect
Thank you.
Steve