A
A
Anton Morozov2019-08-22 01:15:32
PHP
Anton Morozov, 2019-08-22 01:15:32

How to connect to MySQL database?

Installed mysql on ubuntu server.
But I can't connect:

spoiler
Warning: mysqli_connect(): (HY000/2002)

systemctl status mysql.service - status active (running)
I also checked my.cnf file, there "bind-address = 0.0.0.0".
UPD. Thank you all, the question is no longer relevant. I'll try to find a remote base not on Linux, because I'm zero in it.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question