Re: ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 95
Posted by: Shane Furlong
Date: April 05, 2022 12:11PM

Interesting. It was pulling it from the plugin director.
I asked my sys admin to remove it. He said he would need to get with me later but that auditd was using it. ?? So I switched over to another sandbox server that did not have the server_audit.so file in the plugin directory. I got a loading error, but at least the client connected normally. Here is the error in /var/log/mysqld.log on the second sandbox server:

2022-04-05T17:56:40.802181Z 0 [ERROR] Can't open shared library '/usr/lib64/mysql/plugin/server_audit.so' (errno: 2 /usr/lib64/mysql/plugin/server_audit.so: cannot open shared object file: No such file or directory)
2022-04-05T17:56:40.802223Z 0 [Warning] Couldn't load plugin named 'server_audit' with soname 'server_audit.so'.

So, it would appear that mysqld looks for this plugin. If it doesn't find it in versions 5.7.34 or above, that is a good thing. In version 5.7.33 the plugin loads and works well.

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 95
April 05, 2022 12:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.