[Solved] PHP cant connect to MySql (MySqli)


<?php
$sql = new mysqli('127.0.0.1','root','Qwert12345','plot_io_db');
//echo $sql->query('Select * From players');
?>

It will work. Just remove port from localhost (127.0.0.1)

0

solved PHP cant connect to MySql (MySqli)