Is this compiled code? If so, try using "ldd /path/to/binary" to find out what the required libraries are. Then, you can use "yum whatprovides */name-of-library" to find the package you need.
Typically, things do not break between RHEL releases. The only time things break is when the program is compiled for a very specific kernel, which this probably wasn't, since it's compatible with RHEL7.4-7.7. Worse case, you can try installing the compat libs but I don't think you'll need them.
You can download the HP Linux driver from here:
https://developers.hp.com/hp-linux-imaging-and-printing
To add the printer, you can use either the command line or a GUI. Here is a tutorial that should help you:
https://arkit.co.in/add-printer-linux-adding-printer-cups-server-procedure/
Here you go:
https://dev.mysql.com/doc/connector-python/en/connector-python-connectargs.html
And here are some examples:
https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
On the client host, the socket won't exist and I would suggest using the port parameter instead. So, the connection string would look something like this:
cnx = mysql.connector.connect(user='grunt',
password='xxxx',
host='192.168.1.100'...
The error seems to indicate that the socket does not exist. I know this is simple but have you checked to ensure the socket, /tmp/mysqld.sock, in fact does exist? On my RHEL based systems, the socket is defined in /etc/my.cnf and is located here: /var/lib/mysql/mysql.sock.
You could make a custom systemd unit file, executing a script containing the command above. Here is a general tutorial for making a "startup script" on Ubuntu 20.04:
https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-20-04-focal-fossa-server-desktop
Server-A will not need any firewall modifications. Outbound connections are allowed.
Server-B will not need firewall modifications, since there is no firewall. It will need an application to listen and accept connections on that socket. The server will refuse traffic on that port, if nothing...