0

When running below code it shows error like this

$link = mysqli_connect($server, $user, $password, $db);
if (!$link) {
    echo "Error: Unable to connect to MySQL." . PHP_EOL;
    echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL;
    echo "Debugging error: " . mysqli_connect_error() . PHP_EOL;
    exit;
}

Warning: mysqli_connect(): Headers and client library minor version mismatch. Headers:50552 Library:50631

I am using php 7.1.2

Christian Gollhardt
  • 16,510
  • 17
  • 74
  • 111
sridhard
  • 119
  • 3
  • 15
  • 3
    Possible duplicate of [Headers and client library minor version mismatch](http://stackoverflow.com/questions/10759334/headers-and-client-library-minor-version-mismatch) – Jens Mar 31 '17 at 07:21
  • how to resolve this issue – sridhard Mar 31 '17 at 07:27
  • @sridhard Did you try to look at the duplicate link and apply proposed solutions in there? – Motun Mar 31 '17 at 08:39

0 Answers0