RPM installer script uses the wrong datadir

Bug #1181753 reported by monty solomon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Ignacio Nin
5.1
Fix Released
Medium
Ignacio Nin
5.5
Fix Released
Medium
Ignacio Nin
5.6
Fix Released
Medium
Ignacio Nin
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Fix Released
Medium
Ignacio Nin

Bug Description

The RPM installer script for Percona-Server-server-55 has the datadir hardcoded to /var/lib/mysql instead of using my_print_defaults to get the datadir.

The RPM installer script for MySQL-server-5.5 uses my_print_defaults to get the datadir.

Tags: pkg

Related branches

Revision history for this message
monty solomon (monty+launchpad) wrote :
Revision history for this message
monty solomon (monty+launchpad) wrote :

The MySQL bug was resolved in 2011

tags: added: pkg
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Verified by code review on 5.1 and 5.5.

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

5.6.10 also seems affected (based on percona-server.spec content).

Changed in percona-xtradb-cluster:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Ignacio Nin (ignacio-nin)
milestone: none → 5.5.31-24.8
Changed in percona-xtradb-cluster:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1067

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1366

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.