Search code examples
mysql-connectorazure-data-studio

I tried connecting MySQL to Azure data studio but I keep getting "XHR failed" as an error message


I get the error message "Error while installing MySQL extension". This is the extension ID "Microsoft.azuredatastudio-mysql"

I was expecting it to just connect directly but it keeps asking me to download a file manually which I did but the issues has not been resolved


Solution

  • I tried connecting MySQL to Azure data studio but I keep getting "XHR failed" as an error message.

    The issue occurs for several reasons, including network connectivity issues, proxy settings, or antivirus software blocking connections.

    The some resolutions are:

    1. Go to settings >> Application >> Proxy >> change proxy support to override/on

      enter image description here

    2. Go to settings >> Application >> Proxy >> Proxy Authorization >>Edit in settings Json:

      enter image description here

      in json http.proxyAuthorization it should be null:

      Image

    Also, you can refer this similar SO thread