Skip to content

Commit

Permalink
supprt I&^YU#Y& pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
alvin2ye committed Oct 16, 2009
1 parent ae42350 commit 8402195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deploy_kit/backup_mysql.rb
Expand Up @@ -4,7 +4,7 @@ def final_filename
end

def cmd
"""mysqldump -u#{@db_conf[:username]} -p#{@db_conf[:password]} \
"""mysqldump -u\"#{@db_conf[:username]}\" -p\"#{@db_conf[:password]}\" \
--default-character-set=utf8 --opt --extended-insert=false \
--triggers -R --hex-blob --single-transaction #{options} #{@db_conf[:database]} | gzip \
> #{final_filename}
Expand Down

0 comments on commit 8402195

Please sign in to comment.