getdave / grunt-deployments

MYSQL database deployments using GruntJS
MIT License
72 stars 34 forks source link

mysqldump for local use added, as mysql will generate a warning if you p... #52

Open Glimbrant opened 10 years ago

Glimbrant commented 10 years ago

mysqldump for local use added, as mysql will generate a warning if you pass -uusername and -ppassword. Should be stored in .my.cnf according to MySQL for security reasons.

Glimbrant commented 10 years ago

Example of .my.cnf

[mysqldump] user=root password=root

Glimbrant commented 10 years ago

Its dependent on a .my.cnf file.

I think thats the safest and cleanest solution to take.