title: PHP/MySQL Header and Client Library Mismatch
body: <p>I am currently using local MAMP setup on a Windows PC to connect to a MySQL database. But running the following code throws an error.</p>
  
  <p>CODE:</p>
  
  <pre><code>$connection = mysqli_connect($host, $user, $pass, $dbname);
  </code></pre>
  
  <p>ERROR: </p>
  
  <pre><code>Warning: mysqli_connect(): Headers and client library minor version mismatch. Headers:50541 Library:50634 in C:\MAMP\htdocs\mysql.php on line 14
  </code></pre>
  
  <p>Checking my phpinfo, the versions are infact different. 
  I am not sure if this error matters or not and how to fix it. I am using PHP 7.1.1 and MySQL 5.6 with phpmyadmin.</p>
  
  <p>SECTION FROM PHPINFO<a href="https://i.stack.imgur.com/zkMJZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zkMJZ.png" alt="enter image description here"></a></p>
  
  <p>Any help would be greatly appreciated. Been quite frustrating.
  Thank you and Cheers!</p>