Getting ERROR while creating Wordpress website from CyberPanel

Hello everyone!

Could anyone please help me with the following issue - I’m getting the following error while creating a Wordpress website from CyberPanel:

Installation failed. Error message: [“ERROR 2002 (HY000): Can’t connect to server on ‘localhost’ (115)”," [404]"]

(screenshot attached)

After this I open my website in a browser and I can see the Wordpress installer window so I can install my WordPress site from there and the database is successfully created. So looks like the database actually works.

How can I fix this error?

Thanks in advance!

update once nad try also tell me if you are using remote database

Thanks for your response! I’m not using remote database.

I’m sorry but what do you mean “update once nad”? I would appreciate more details please. Thanks!