Hi,
This was Mysql Backup Batch Script
Script named as mysqlbackup.bat
REM [at] echo off
for /f "tokens=1" %%i in ('date /t') do set DATE_DOW=%%i
for /f "tokens=2" %%i in ('date /t') do set DATE_DAY=%%i
for /f %%i in ('echo %date_day:/=-%') do set DATE_DAY=%%i
for /f %%i in ('time /t') do set DATE_TIME=%%i
for /f %%i in ('echo %date_time::=-%') do set DATE_TIME=%%i
"C:\Program Files\xampp\mysql\bin\mysqldump" -u root -p jee > "C:\Program Files\xampp\mysql\bin\%DATE_DAY%_%DATE_TIME%_jee10.sql"
Its working fine.I have scheduled this mysqlbackup.bat file in
start -> control panel -> scheduled task ->Add ->daily.
Its all fine.Getting backup also correctly.
My main problem is:
Every time ,it asks the password to enter (while running mysqlbackup.bat file).
Can any one help me out from this.password should not ask when my script is running daily.
with regards,
santhanalakshmi.