M
M
modxyou2020-05-27 17:22:37
PHP
modxyou, 2020-05-27 17:22:37

How can I connect to MYSQL?

Good afternoon!

Installed with the recommended ISPmanager Lite software.
Added an alternative PHP version, etc. in general, everything through the panel.
I load a site on wordpress - when I try to connect to the database through localhost - an error.
I load another script to check the connection by the server, it also gives an error about the inaccessibility of the database
Could not connect to MySQL: (2002) No such file or directory

Tell me why, where to dig?
I installed everything by default.

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2020-05-27
@FanatPHP

database needs to be created

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question