Follow this, you will also fix the mysql/mariadb client location not found issue.
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub io.dbeaver.DBeaverCommunity
sudo flatpak install io.dbeaver.DBeaverCommunity.Client.pgsql
sudo flatpak install io.dbeaver.DBeaverCommunity.Client.mariadb
Then, install flatseal
flatpak install flathub com.github.tchx84.Flatseal
Then, start flatseal
flatpak run com.github.tchx84.Flatseal
Then, Config the shared system path as follows:
it fix Unable to select local client when using Flatpak
/var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin
Then, start dbeaver, start any mysql import procedure,
Click Load Client
Button,
Paste the path
/var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin
You are now done!