Where can i find wordpress auto update code flows?

The code you are seeking for is located in the wp-admin/includes/class-wp-upgrader.php. There is a bunch of classes regarding all updates.

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