Unable to update visual studio installer

The initial solution I found was to reinstall Visual Studio but felt that it might be unnecessary. The solution I found was to close down Visual Studio, go to C:\Program Files (x86)\Microsoft Visual Studio\Installer and rename the folder “Installer” to something else, then run vs_installer.exe from the renamed folder. Hope that helps someone.

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