The same error, I'm use Rocky Linux 8.10, php 8.0 and php 8.2, OpenLiteSpeed, MariaDB 11.11.6.
I have already reinstalled it several times, and several versions, 4.9, 5.0, 5.1, 5.2. They all have the same problems. I created the phpMyAdmin.conf file in the folder /www/server/panel/vhost/openlitespeed and /www/server/panel/vhost/openlitespeed/detail