You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI, I have the last MAMP version with php7 and my Mysqli infos are:
MysqlI Support enabled
Client API library version 5.6.34
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 0
Client API header version 5.5.41
MYSQLI_SOCKET /tmp/mysql.soc
I tried to find a background by manipuling the code in the file system/database/drivers/mysqli/mysqli_driver.php
but nothing seem to change..
I think these line cause the warning issue..
if (
($client_flags & MYSQLI_CLIENT_SSL)
&& version_compare($this->_mysqli->client_info, '5.7.3', '<=')
&& empty($this->_mysqli->query("SHOW STATUS LIKE 'ssl_cipher'")->fetch_object()->Value)
)
{
$this->_mysqli->close();
$message = 'MySQLi was configured for an SSL connection, but got an unencrypted connection instead!';
log_message('error', $message);
return ($this->db->db_debug) ? $this->db->display_error($message, '', TRUE) : FALSE;
}
return $this->_mysqli;
}
Someone could help me?
Thanks :)
Update 1:
defined('SHOW_DEBUG_BACKTRACE') OR define('SHOW_DEBUG_BACKTRACE', FALSE);
instead of TRUE in application/config/constants.php
-> Now showing only "Message: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50541 "
I know it's logic ;)
Still searching how to deal with the minor version mismatch message..
The text was updated successfully, but these errors were encountered:
btronquo
changed the title
Issue with
ISSUE - mysqli::real_connect(): Headers and client library minor version mismatch
May 9, 2017
Hi !
I just see this awesome work and I would like to test it
however, I have this message above:
FYI, I have the last MAMP version with php7 and my Mysqli infos are:
MysqlI Support enabled
Client API library version 5.6.34
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 0
Client API header version 5.5.41
MYSQLI_SOCKET /tmp/mysql.soc
I tried to find a background by manipuling the code in the file system/database/drivers/mysqli/mysqli_driver.php
but nothing seem to change..
I think these line cause the warning issue..
Someone could help me?
Thanks :)
Update 1:
defined('SHOW_DEBUG_BACKTRACE') OR define('SHOW_DEBUG_BACKTRACE', FALSE);
instead of TRUE in application/config/constants.php
-> Now showing only "Message: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50541 "
I know it's logic ;)
Still searching how to deal with the minor version mismatch message..
The text was updated successfully, but these errors were encountered: