Reputation: 114
I was create a "export.bat" and put these line of code
@ECHO OFF
C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqldump.exe --user=root --host=localhost --password=mind --protocol=tcp --port=3306 --default-character-set=utf8 --single-transaction=TRUE --routines --events --no-data "db_ows" > ows_back.sql
when direct run its working fine.
But i was trying with Task Scheduler on WIndows Server 2012, its failed. The action setting of task scheduler are as follows.
Upvotes: 0
Views: 903
Reputation: 114
I changee the action settings In Task Scheduler Action Tab
It works.
Upvotes: 3