Authentication plugin 'mysql_clear_password' cannot be loaded in Navicat - mysql

I try to connect with my database and use Navicat with MacOS , but I get an error and not able to connect. I tried many different things but not able to connect yet. any help really appreciates and it's really great to help me.
Error :
Connection Failed
Authentication plugin 'mysql_clear_password' cannot be loaded:
dlopen(/usr/local/mysql/lib/plugin/mysql_clear_password.so, 2): image
not found

I got the same error in my MySQLWorkbench, went through the available ui configs and ticked the
Enable Cleartext Authentication Plugin
Steps need to be taken:
Open Connect to Database window
Choose Advanced option
Tick Enable Cleartext Authentication Plugin option

You could try starting Navicat from the terminal. This assumes the app is 'Navicat Premium Essentials'.
LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=y /Applications/Navicat\ Premium\ Essentials.app/Contents/MacOS/Navicat\ Premium\ Essentials
This solved the issue for me with Sequel Pro. See: https://github.com/sequelpro/sequelpro/issues/2247#issuecomment-144567527

Related

Mysql Percona 8 with PAM+SSSD+AD Authentication

Good afternoon everyone.
We are using MYSQL Percona 8 with PAM+SSSD+AD authentication.
Faced with the fact that authentication works well only on the machine where the server is installed, from the terminal console.
When connecting from any other machine, the error is:
ERROR 2059 (HY000): Authentication plugin ‘dialog’ cannot be loaded: /usr/lib/mysql/plugin/dialog.so: cannot open shared object file: No such file or directory
At first I thought the problem was in the native mysql client, so I installed Percona-client , it didn’t help, I tried to add dialog.so manually, which resulted in the error:
ERROR 2059 (HY000): Authentication plugin ‘dialog’ cannot be loaded: Incompatible client plugin interface
In the end, I came to the decision that the connection only starts working if percona-server-server is installed on the client machine.
I think this is an absurd solution or a bug, I don’t know.
Tell me how to transfer only the necessary module and make the client work without installing the entire server?
p.s By the way, even the latest DBeaver also cannot work with this, but in the process of torment, it turned out that if you select not "MySQL" but "MariaDB" when connecting, then it successfully connects via PAM. Perhaps this will help someone.
I probably managed to find a solution to a similar problem here for mariadb and redhat. But I don’t know how to build mysql percona client with these modules.
https://bugzilla.redhat.com/attachment.cgi?id=940720&action=diff
I had a similar issue and changed the plugin from "auth_pam" to "auth_pam_compat" and it resolved the issues with LDAP/PAM Stack authenticated users.
Found in a forum online - https://rimzy.net/category/authenticatin-plugin/
This issue is applicable to all plugins that require loading an external library at the client-side, including the PAM authentication plugin. In this case, you will get the error
ERROR 2059 (HY000): Authentication plugin 'dialog' cannot be loaded: /usr/local/Percona-Server-8.0.25-15-Linux.x86_64.glibc2.17/lib/plugin/dialog.so: cannot open shared object file: No such file or directory
Oracle-compatible auth_pam_compat plugin does not experience this issue, because, instead of
dialog.so
it uses the built-in
mysql_clear_password
plugin.

how to make local mysql connection open at the start of computer(windows)?

am trying to create an standalone desktop application in flutter which uses mysql as local database.
my problem is when i need to use database from my application i need to open mysql command line client and enter my password to start service( or open connection).
In simple term whenever i open my desktop application mysql should be ready to use. how can i achieve this?
I have tried starting mysql as windows service . Is it the answer which i should follow?
I followed it. But it didn't work for me..
during installation of mysql in windows you'll get the option to start mysql as windows service. if you don't get you can follow starting myswl as windows service.
after this step open mysql installer-community from searchbar.
Look for "MySQL server" and click on Reconfigure
Click on "Next" until you reach the "Authentification Method" page
On the "Authentification Method" page check the second option "Use Legacy Authentication Method"
Then follow the steps given by the Windows installer until the end.
now you could directly connect to database and perform actions without creating it's local instance or without even opening mysql command line client or workbench.

Rabbitmq web manager failed to login in as a administrator and error in console

I`ve created a new user and set that as an administrator but still failed to log in after times of trial. However, I find some information in console, but can not solve it after enable-disable plugins and multiple times of re-installation of rabbitmq-server.
BTW I am using CentOS 7.9.
Solved the question by changing browser from chrome to IE, edge also works.

I can't enter to "localhost:8080/phpmyadmin"

Im trying to enter and it says This site can't be reached: connection refused... also, I made sure that the settings are right on the html files of the modules I am currently using which are apache and mysql. I've read through the web and someone said that I had to stop the apache module or mysql module, already did it, but no luck... any help with this problem?
As far as I know, you are no need to use the port number.
localhost/phpmyadmin
I hope this will work. If you are using a Linux version. please check this thread.
I had similar problem using easyphp with php, mysql and apache and solved it by running as administrator
What are you using as your local server? Have you restarted the services? Does it say your localhost is running properly?

Connect to Mysql from Chrome extension

Is it possible to connect to some port on localhost to MySQL and to make SQL queries?
It's intended as a development tool, so the user authenticates to his own db.
I've found:
https://npmjs.org/package/mysql-native-pre
plus
http://blog.iceddev.com/2012-11-05-node-js-in-chrome.html
So, it looks like there is a way to run nodeJs in chrome ext. and there is NodeJS module for MySQL communication.
But that still does not mean, that this particular module will work in Chrome sandbox.
Does anyone have some experience with this? I don't know NodeJS and even Chrome extensions, so before I start digging ...
Thank You.