the_password_form functions not working together

You have to control the order of execution. To do that, use the third parameter for add_filter(), the priority. A higher priority equals to later execution.

add_filter( 'the_password_form', 'my_password_form', 9 );
add_filter( 'the_password_form', 'wpse_71284_custom_post_password_msg', 10 );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)