cron automatic restore

MultiMediaMadness

New Member
Messages
30
Reaction score
0
Points
0
Why doesn't this work

0 0 * * * mysql -D mmm_Demo -u <database username> -p <password> < /home/mmm/localhost.sql

I receive this error:
Enter password: ERROR 1045 (28000): Access denied for user 'database username'@'localhost' (using password: YES)
 
Last edited:
Top