ERROR: Plugin http could not be loaded

pampas58's profile image pampas58 posted 5 years ago in General Permalink

I'm getting this message after setting up HeidiSQL on my new computer (WIN 10)

Plugin http could not be loaded: The specified module could not be found. Library path is 'C:\Program files\HeidiSQL\plugins/http.dll'

Now what I find most interesting is the way the library path is set up. It's a mix of Windows and Apache format. The first part "C:\Program files\HeidiSQL\plugins" looks like normal windows. However, the call for the http.dll looks backwards "/http.dll"

Notice the forward slash instead of the back-slash.

Is there a fix, or do I just have a bad install?

ansgar's profile image ansgar posted 5 years ago Permalink

Other plugins do their work, with the same mix of slash types. Instead, I suspect this http plugin is compiled for 32bit and your HeidiSQL is 64bit, or vice versa. Could you check that?

Ashbjorn's profile image Ashbjorn posted 5 years ago Permalink

I have the same issue with latest download of both Installer, 32-bit portable and 64-bit portable. There is no http.dll nor a https.dll in the plugins folder and no idea where to get this from?

ansgar's profile image ansgar posted 5 years ago Permalink

Is it that a blank install of HeidiSQL suddenly wants to have this plugin?

Or is it probably the server you are connecting to, which is requesting the client to have this plugin?

Ashbjorn's profile image Ashbjorn posted 5 years ago Permalink

To be honest I am not entirely sure, it's a full clean install and I am trying to connect to AWS Aurora using the host that DBA gave me to connect to.

If I change the URL to the database to https, then it tells me https.dll is missing. So, where can I find these DLL's? Are you saying HeidiSQL is not supposed to have them in the plugin package? It seems such a basic needed to be able to connect to a MySQL instance using http?

confused

ansgar's profile image ansgar posted 5 years ago Permalink

No, that http plugin is not shipped with HeidiSQL yet. I was even not aware there is such a plugin, up now. But HeidiSQL supports loading MySQL/MariaDB plugins - these are located in its "plugins" directory, which is a subfolder of the one where your heidisql.exe is located.

However, you should be able to copy dlls from the server distribution. But you need to copy the 64bit libraries if your HeidiSQL is 64 bit (located in c:\Program Files\HeidiSQL) and vice versa on 32 bit (c:\Program Files (x86)\HeidiSQL)

jsinger's profile image jsinger posted 5 years ago Permalink

I was also receiving this error when trying to connect to a database Hostname/IP. I found that once I removed 'http://' from the link, my connection worked.

I hope this helps someone!

pampas58's profile image pampas58 posted 5 years ago Permalink

Is it that a blank install of HeidiSQL suddenly wants to have this plugin?

Or is it probably the server you are connecting to, which is requesting the client to have this plugin?

Ansgar,

In my case it was also a clean install. I got the message. I posted here and I was unsure how to proceed. So I remembered the old "CTRL-ALT-DEL" days, and uninstalled and re-installed (shutting down in between) and when it came back up (from the same install file, by the way) it was running correctly and did not ask for the plugin.

Not sure that's a good solution; but I've been running it ever since without any problems.

ansgar's profile image ansgar posted 5 years ago Permalink

Please do not expect a working connection when adding a prefix like http:// or https:// to the hostname. It seems libmysql looks up for any of these protocols in the plugin folder, as you can see here:

Description

Just don't use any protocol prefix in the hostname, unless you know it's required and correct. In most cases there must be just the hostname or an ip address, without a protocol.

aneeqarajput2000@gmail.com's profile image aneeqarajput2000@gmail.com posted 2 years ago Permalink

Please do not expect a working connection when adding a prefix like http:// or https:// to the hostname. It seems libmysql looks up for any of these protocols in the plugin folder, as you can see here:

Description

Just don't use any protocol prefix in the hostname, unless you know it's required and correct. In most cases there must be just the hostname or an ip address, without a protocol.

Thank you so much @Ansgar, did work for me.

Please login to leave a reply, or register at first.