Add support for MySQL 5.7

Bug #1566858 reported by Lars Tangvald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-dataobjects-mysql (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Building ruby-dataobjects-mysql will fail due to changes to mysql_real_escape_string behavior in 5.7.
This is documented and fixed in the dataobjects github project, with https://github.com/datamapper/do/commit/8e279caea3ce41d50d430a5d1764f8514943c813

Revision history for this message
Lars Tangvald (lars-tangvald) wrote :

mysql_install_db is also called with options that were removed in 5.7: --force and --skip-name-resolve.

Ideally one should switch to using mysqld --initialize for 5.7, but it's also possible to add --insecure and --basedir=/usr to the current command to make it work.

Robie Basak (racb)
tags: added: mysql-5.7-transition
Robie Basak (racb)
Changed in ruby-dataobjects-mysql (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby-dataobjects-mysql - 0.10.16-1ubuntu1

---------------
ruby-dataobjects-mysql (0.10.16-1ubuntu1) xenial; urgency=medium

  * Added support for MySQL 5.7 (LP: #1566858).
    The fix was taken from the datamapper/do github project

 -- Lars Tangvald <email address hidden> Wed, 06 Apr 2016 15:34:40 +0200

Changed in ruby-dataobjects-mysql (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.