Confusing about permalink

Try checking your settings under Settings > General. Is your Site Address (URL) set to http://dev.domain.com? The next place I would look would be Settings > Permalinks.

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