Aloha! VERY broad CPT questions. Looking for the theory/best practices behind it

Aloha! VERY broad CPT questions. Looking for the theory/best practices behind it

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