Module mysql-local does not exist

I had a remote mysql server, everything was fine. when i started a local mariadb server & moved all the databases from remote to local, it worked like a charm! Meanwhile virtualmin created another module called Mysql server local.
Now when i tried to delete the remote database server, virtualmin shows error: can’t delete local server. But it was the remote server.
after that i tried many ways by disabling features & so on but not succeed.
Eventually i deleted the webmin mysql module & reinstalled it, now webmin works fine with the new DB but virtualmin is throwing this error: Module mysql-local does not exist
../web-lib-funcs.pl (line 4211)
I have tried disabling the mariadb feature & reenabling from virtualmin.

SYSTEM INFORMATION
OS type and version Almalinux 9.4
Webmin version 2.202
Virtualmin version 7.20.2
Webserver version Nginx version 1.20.1
Related packages Mariadb