I am trying to set up a backup routine using windows task scheduler but the problem I am having starts before I even use task scheduler.
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysqldump -h localhost -u root -pMypass mydatabase > c:\10am.txt
mysqldump: Got error: 1045: Access denied for user 'ODBC'@'localhost' (using password: YES) when trying to connect
if I enter the following
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysqldump -h localhost -u root -p mydatabase > c:\10am.txt
and then enter the password it works, but I dont want to have to keep putting in the password manually because I want this to be automated by task scheduler.I dont understand why it would be complaining.
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysqldump -h localhost -u root -pMypass mydatabase > c:\10am.txt
mysqldump: Got error: 1045: Access denied for user 'ODBC'@'localhost' (using password: YES) when trying to connect
if I enter the following
C:\Program Files\MySQL\MySQL Server 5.5\bin>mysqldump -h localhost -u root -p mydatabase > c:\10am.txt
and then enter the password it works, but I dont want to have to keep putting in the password manually because I want this to be automated by task scheduler.I dont understand why it would be complaining.