Error establishing a database connection after Overriding php.ini in litespeed webadmin

After I insert
max_execution_time = 300
memory_limit = 256M
Screen Shot 2020-04-27 at 1.13.06 AM.png
in php.ini. I get error when opern wp-admin
Screen Shot 2020-04-27 at 1.13.33 AM.png
How I can fix it? It seems to connect MySQL have problem