Fails to build with mysql-5.7

Bug #1566798 reported by Lars Tangvald
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-mysql2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package will fail to build with mysql 5.7 for a few reasons:

From debian/start-mysqld_and_run.sh
* mysql_install_db is run with the removed options --force and --skip-grant-tables, which fails
* mysql_install_db needs to be run with --insecure, or a random root password will be generated
* the test database is no longer automatically created

Tests:
The test for numeric-only database doesn't create the user it needs.

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

Note that we strongly recommend updating the package to use mysqld --initialize instead of mysql_install_db

description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix for failing test" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

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

This bug was fixed in the package ruby-mysql2 - 0.4.3-2ubuntu2

---------------
ruby-mysql2 (0.4.3-2ubuntu2) xenial; urgency=medium

  * d/p/test-nil-read-timeout-credentials: provide credentials in nil
    read timeout test to fix dep8 failure.

 -- Robie Basak <email address hidden> Thu, 07 Apr 2016 01:29:36 +0000

Changed in ruby-mysql2 (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.