I need help I am making a PHP connection with Mysql and it appears to me that it can not be done.
I get this error:
Can not connect to MySQL server on 'localhost' (10061).
Use:
<?php
$conexion = new mysqli('localhost','root','root','prueba');
print_r($conexion);
if($conexion->connect_errno)
{
echo "no conexion";
}
else{
echo "si conexion";
}
?>