Hover a css icon width other color inside wp_get_attachment_image

On :hover you should change the svg-image, not the color. The second image is a copy with a different color. For example, if your image is shown in the background, you can change the style in this way:

.sidebar-btn-icon:hover {
    background-image: url(button_image_red.svg');
}

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