How can I get full attachment url from wp_get_attachment_metadata?

Once you already have the attachment ID, you can get the full path with get_attached_file:

$image_path = get_attached_file( $attachment_id );

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