Answer the question
In order to leave comments, you need to log in
Connecting MySQL to PHP?
I write in PHP file:
$link = mysqli_connect('127.0.0.1', 'root', '123456', 'php_db');
On startup it gives an error:
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\Openserver\...\index.php on line 26
perhaps this is due to the fact that I installed openserver and when I try to enable the mysql module, it gives an error: It is impossible to take port 3306 because it is already in use: c:\program files\mysql\mysql server 8.0\bin\mysqld.exe The only way
to solve the problem is to demolish installed mysql and use built-in openserver? Or are there other solutions?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question