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
ERROR - 2016-11-20 09:59:03 --> Severity: Warning --> mysqli::query(): (42000/3057): Incorrect user-level lock name 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_xxxx:xxxx:xxxx:x:xxx:xxxx:xxxx:xxxx'. /var/www/0/136120/www/system/database/drivers/mysqli/mysqli_driver.php 305 ERROR - 2016-11-20 09:59:03 --> Query error: Incorrect user-level lock name 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_xxxx:xxxx:xxxx:x:xxx:xxxx:xxxx:xxxx'. - Invalid query: SELECT GET_LOCK('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_xxxx:xxxx:xxxx:x:xxx:xxxx:xxxx:xxxx', 300) AS ci_session_lock ERROR - 2016-11-20 09:59:03 --> Severity: Error --> Call to a member function row() on boolean /var/www/0/136120/www/system/libraries/Session/drivers/Session_database_driver.php 358
My guess is that the lock name string exceed the get_lock() maximum length of 64 characters that was implemented in MySQL 5.7. I am not getting this error when a user is using IPv4 since it does not make the lock name exceed 64 characters but when a user is using IPv6 it exceeds the limit.
Is there a way I could still use IPv6 in the session database driver?
The text was updated successfully, but these errors were encountered:
Hi!
I am getting this error:
ERROR - 2016-11-20 09:59:03 --> Severity: Warning --> mysqli::query(): (42000/3057): Incorrect user-level lock name 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_xxxx:xxxx:xxxx:x:xxx:xxxx:xxxx:xxxx'. /var/www/0/136120/www/system/database/drivers/mysqli/mysqli_driver.php 305 ERROR - 2016-11-20 09:59:03 --> Query error: Incorrect user-level lock name 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_xxxx:xxxx:xxxx:x:xxx:xxxx:xxxx:xxxx'. - Invalid query: SELECT GET_LOCK('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_xxxx:xxxx:xxxx:x:xxx:xxxx:xxxx:xxxx', 300) AS ci_session_lock ERROR - 2016-11-20 09:59:03 --> Severity: Error --> Call to a member function row() on boolean /var/www/0/136120/www/system/libraries/Session/drivers/Session_database_driver.php 358
My guess is that the lock name string exceed the get_lock() maximum length of 64 characters that was implemented in MySQL 5.7. I am not getting this error when a user is using IPv4 since it does not make the lock name exceed 64 characters but when a user is using IPv6 it exceeds the limit.
Is there a way I could still use IPv6 in the session database driver?
The text was updated successfully, but these errors were encountered: