make sure that database password gets escaped properly to avoid confusing bash.
escape password when uploading database to server.