Cyberpanel login, phpmyadmin login not working

Suddenly all of my website in cyberpanel stopped working.
I tried to open cyberpanel admin it throws these errors.

All my websites are down.

Errors while upgrading cyberpanel

[01.28.2022_07-08-56] (2002, “Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)”)

‘int’ object has no attribute ‘execute’
Traceback (most recent call last):
File “upgrade.py”, line 690, in applyLoginSystemMigrations
cursor.execute(“UPDATE loginSystem_acl SET config = ‘%s’ where name = ‘admin’” % (Upgrade.AdminACL))
AttributeError: ‘int’ object has no attribute ‘execute’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “upgrade.py”, line 2684, in
main()
File “upgrade.py”, line 2680, in main
Upgrade.upgrade(args.branch)
File “upgrade.py”, line 2591, in upgrade
Upgrade.applyLoginSystemMigrations()
File “upgrade.py”, line 693, in applyLoginSystemMigrations
import sleep
ModuleNotFoundError: No module named ‘sleep’
above command failed…

It seems your Mysql is down can you please share
systemctl status mariadb
this command results with me?

how did you solve this ?
I have something similar and I don’t have any mysql.sock on my server…