Warning: mysql_connect(): Headers and client library minor version mismatch

解決辦法是: 改用mysql 原生的 naive drive

  1. yum remove php-mysql
  2. yum install php-mysqlnd

 

ref: https://dev.mysql.com/downloads/connector/php-mysqlnd/