MySQL.jl Not Installing

I am not able to install the MySQL.jl package. I am using Julia version 1.0.5. Here is the error:

(v1.0) pkg> add MySQL
 Resolving package versions...
ERROR: Error when installing package LibSSH2_jll:
HTTP.ExceptionRequest.StatusError(404, HTTP.Messages.Response:
"""
HTTP/1.1 404 Not Found
Server: openresty/1.15.8.2
Date: Wed, 15 Apr 2020 08:46:49 GMT
Content-Type: text/html
Content-Length: 159
Connection: keep-alive

""")
Stacktrace:
 [1] #request#1 at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\ExceptionRequest.jl:22 [inlined]
 [2] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::Nothing) at .\none:0
 [3] (::getfield(Base, Symbol("###44#45#46")){ExponentialBackOff,getfield(HTTP.RetryRequest, Symbol("##2#3")){Bool,HTTP.Messages.Request},typeof(HTTP.request)})(::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol("##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}}, ::Function, ::Type, ::Vararg{Any,N} where N) at .\error.jl:203
 [4] ##44#47 at .\none:0 [inlined]
 [5] #request#1 at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\RetryRequest.jl:44 [inlined]
 [6] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::Nothing) at .\none:0
 [7] #request#1(::VersionNumber, ::String, ::Nothing, ::Function, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\MessageRequest.jl:47
 [8] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at .\none:0
 [9] #request#1(::Int64, ::Bool, ::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol("##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}}, ::Function, ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\RedirectRequest.jl:24
 [10] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at .\none:0
 [11] #request#5(::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol("##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}}, ::Function, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\HTTP.jl:300
 [12] #request at .\none:0 [inlined]
 [13] #request#6 at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\HTTP.jl:314 [inlined]
 [14] #request at .\none:0 [inlined]
 [15] #open#7 at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\HTTP.jl:339 [inlined]
 [16] open at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\HTTP.jl:339 [inlined]
 [17] download(::String, ::String, ::CredentialsHandler.Token) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\CredentialsHandler\src\CredentialsHandler.jl:95
 [18] download(::String, ::String) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\CredentialsHandler\src\CredentialsHandler.jl:89
 [19] (::getfield(BinaryProvider.JuliaTeam, Symbol("##1#2")){getfield(BinaryProvider, Symbol("##56#85")){getfield(BinaryProvider, Symbol("##51#80")){Cmd,String}}})(::String, ::String) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\BinaryProvider\src\JuliaTeam.jl:18
 [20] #download#106(::Bool, ::Function, ::String, ::String) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\BinaryProvider\src\PlatformEngines.jl:608
 [21] download at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\BinaryProvider\src\PlatformEngines.jl:607 [inlined]
 [22] install_archive(::Array{String,1}, ::Base.SHA1, ::Base.UUID, ::String) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:517
 [23] macro expansion at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:659 [inlined]
 [24] (::getfield(Pkg.Operations, Symbol("##26#29")){Symbol,Pkg.Types.Context,Dict{Base.UUID,Base.SHA1},Dict{Base.UUID,Array{String,1}},Channel{Any},Channel{Any}})() at .\task.jl:259

Update: I only get this error in JuliaPro. I installed a separate instance of Julia with just the console (1.0.5) and it works. Does this mean JuliaPro is broken?

Hello,I have met the same problem as you. But the same error occurs in both JuliaPro and shell. Did I have anything wrong? THANKS!

Yes. I should have been more clear. It occurs in both JuliaPro IDE and JuliaPro shell. I had to install another instance of Julia, but only the the basic Julia shell (Download Julia). If you install the plain vanilla Julia version, then I would expect it to work for you. That’s what I had to do.