Welcome Guest, Not a member yet? Register   Sign In
Please help in the correct PHP configuration
#7

(This post was last modified: 02-24-2016, 12:57 AM by moshair.)

Now it is not working again.

I wrote a php file with
Code:
$con = mysqli_connect("sql.byethost32.org","[removed]","[removed]","[removed]");
if (mysqli_connect_errno()){
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

I got this error:
Code:
Warning: mysqli_connect(): (HY000/2002): Connection refused in  on line 2
Failed to connect to MySQL: Connection refused

@InsiteFX I did as you said and removed nd_mysqli because of conflicting with mysqli. I got
Code:
Warning: mysqli_connect(): Headers and client library minor version mismatch. Headers:50626 Library:100020 in ...

Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on 'sql.byethost32.org' (111 "Connection refused") in ...
Failed to connect to MySQL: Can't connect to MySQL server on 'sql.byethost32.org' (111 "Connection refused")
Reply


Messages In This Thread
RE: Please help in the correct PHP configuration - by moshair - 02-24-2016, 12:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB