[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: script to back up mysql dababase



> In: /home/tong/.my.cnf
> [client]
> user=root
> password=your.passwd
> 
> 
> chmod 600 /home/tong/.my.cnf # ;)
> 
> try again, yes?

Ya..it works, now I found I don't need password when
executing 

mysqlhotcopy bugs /home/tong

or mysqldump bugs > /home/tong/bugs.bak

or mysqlhotcopy doesn't make anything different than
mysqldump right? why we need this command ??  





		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]