Some hosts provide an option to have separate passwords for FTP, DB, Mail and CP. If this is the case then you should have an option for just DB password change. However, there is a possibility that you have a single password for everything. You should better ask your hosting company how to change your DB password before you do anything.