I have a site where attachments in the wp_posts table have guid values of guid, how did this happen?

I have a site where attachments in the wp_posts table have guid values of guid, how did this happen?

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