Are there any negative impact if access to directories were accidently denied?

Are there any negative impact if access to directories were accidently denied?

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