HeidiSQL 12.13.1.1 Linux fails to establish a connection

carloscastaneda's profile image carloscastaneda posted 11 months ago in Creating a connection Permalink

Just updated to the new version (dkpg -i ...) but creating a new connection fails with invalid flag specified...

grafik.png

ansgar's profile image ansgar posted 11 months ago Permalink

This was reported in issue #2293 and already fixed. You may use libmysql in the dropdown instead, as a workaround (may need to install it first). Alternatively use the prior HeidiSQL release or wait for v12.14 (should not take too long)

carloscastaneda's profile image carloscastaneda posted 11 months ago Permalink

There is no libmysql in the dropdown list box, only mariadb. Which packages has to be installed (debian trixie).

ansgar's profile image ansgar posted 11 months ago Permalink

Try sudo apt install libmysqlclient-dev

carloscastaneda's profile image carloscastaneda posted 11 months ago Permalink

Try sudo apt install libmysqlclient-dev

This does not work, but I assume that the library in question (default-libmysqlclient-dev) might already be installed. Nevertheless there is no libmysql in the dropdown listbox.

apt list --installed  *libmysqlclient-dev* *mariadb*
default-libmysqlclient-dev/stable,stable,now 1.1.1 amd64 [installiert,automatisch-entfernbar]
libmariadb-dev-compat/stable,stable,now 1:11.8.3-0+deb13u1 amd64 [installiert,automatisch-entfernbar]
libmariadb-dev/stable,stable,now 1:11.8.3-0+deb13u1 amd64  [Installiert,automatisch]
libmariadb3/stable,stable,now 1:11.8.3-0+deb13u1 amd64  [Installiert,automatisch]
libmariadbd-dev/stable,stable,now 1:11.8.3-0+deb13u1 amd64  [installiert]
libmariadbd19t64/stable,stable,now 1:11.8.3-0+deb13u1 amd64  [Installiert,automatisch]
mariadb-common/stable,stable,stable,stable,now 1:11.8.3-0+deb13u1 all  [Installiert,automatisch]

apt search returns the following result

apt search  '.*libmysqlclient.*'
default-libmysqlclient-dev/stable,stable,now 1.1.1 amd64 [installiert,automatisch-entfernbar]
  Datenbank MySQL - Entwicklungsdateien (Metapaket)

libcrypt-mysql-perl/stable,stable 0.04-7+b4 amd64
  Perl module to emulate the MySQL PASSWORD() function

libglpk40/stable,stable 5.0-1+b2 amd64
  linear programming kit with integer (MIP) support

librust-mysqlclient-sys-dev/stable,stable 0.2.5-2+b2 amd64
  Auto-generated rust bindings for libmysqlclient - Rust source code

So I'll revert back to the previous version.

ansgar's profile image ansgar posted 11 months ago Permalink

Hm, that should not happen. Sorry for the mess. HeidiSQL queries paths to such libs per ldconfig. For fun you could try the same:

/sbin/ldconfig | grep libmysqlclient
carloscastaneda's profile image carloscastaneda posted 11 months ago Permalink
/sbin/ldconfig | grep libmysqlclient

No result...

ansgar's profile image ansgar posted 11 months ago Permalink

Ok in that case I have to give up - if ldconfig does not show up the installed libmysqlclient, there is something broken. Probably ldconfig does not cover your system configuration.

For the moment I can only recommend to use the prior v12.12 Linux release. v12.14 will have a bugfix for the above mentioned libmariadb issue.

carloscastaneda's profile image carloscastaneda posted 11 months ago Permalink

Thanks for your reply. I‘m back to 12.12 release and will wait for 12.14.

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