How to Change Database Password on cPanel? 

Change Database Password | BigCloudy KB
Set MySQL User Password | BigCloudy KB