Guys, I've got an error message after I installed the Mysql from aapanel dashboard when I opened the SSL menu, it looks like this
TypeError: 'OperationalError' object is not subscriptable
REQUEST_DATE: 2021-09-23 17:36:36
REQUEST_DATE: 2021-09-23 17:36:36
PAN_VERSION: 6.8.1
OS_VERSION: Ubuntu 16.04 LTS x86_64(Py3.7.8)
REMOTE_ADDR: 10.19.0.1
REQUEST_URI: POST /database?action=check_mysql_ssl_status
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 1558, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/init.py", line 1506, in run
result = getattr(toObject,get.action)(get)
File "class/database.py", line 135, in check_mysql_ssl_status
if result and result[0][1] == "YES":
TypeError: 'OperationalError' object is not subscriptable
And also I can't optimize the Mysql, it seems there is some issue when the aapanel tried to detect my memory. It looks like this
Optimization plan | Select || Max RAM usage | NaN MB