Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 527842

Summary: dev-db/mysql-init-scripts-2.0-r1 Please Stabilize
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ap
Priority: Normal Keywords: STABLEREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Brian Evans (RETIRED) gentoo-dev 2014-11-01 16:01:00 UTC
Arches, please test and mark stable dev-db/mysql-init-scripts-2.0-r1

Target keywords: alpha amd64 arm hppa ia64 ppc ppc64 sparc x86

This version adds a configuration test option to the OpenRC scripts. This will error out on start instead of blindly waiting later on (900 seconds) for simple configuration issues.
Comment 1 Agostino Sarubbo gentoo-dev 2014-11-03 10:26:47 UTC
amd64 stable
Comment 2 Andreas Prieß 2014-11-04 01:43:20 UTC
dev-db/mysql-init-scripts-2.0-r1 does not work for me. With
# /etc/init.d/mysql start
the mysqld is started, but the init script hangs forever after: "Starting mysql..."

The following change solves the problem for me:

15c15
<       my_print_defaults --config-file="$1" mysqld |
---
>       my_print_defaults --config-file="$1" mysqld client |
Comment 3 Agostino Sarubbo gentoo-dev 2014-11-04 09:28:17 UTC
sparc stable
Comment 4 Brian Evans (RETIRED) gentoo-dev 2014-11-04 13:20:34 UTC
(In reply to Andreas Prieß from comment #2)
> dev-db/mysql-init-scripts-2.0-r1 does not work for me. With
> # /etc/init.d/mysql start
> the mysqld is started, but the init script hangs forever after: "Starting
> mysql..."
> 
> The following change solves the problem for me:
> 
> 15c15
> <       my_print_defaults --config-file="$1" mysqld |
> ---
> >       my_print_defaults --config-file="$1" mysqld client |

This change does nothing for the actual server and has not changed from the previous versions.  It simply adds client section values to the config lookup.

If you have issues, report a new bug, but be sure to check your log file first.
Comment 5 Markus Meier gentoo-dev 2014-11-04 20:31:39 UTC
arm stable
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-06 10:47:53 UTC
Stable for HPPA.
Comment 7 Agostino Sarubbo gentoo-dev 2014-11-10 10:55:40 UTC
ppc stable
Comment 8 Agostino Sarubbo gentoo-dev 2014-11-11 10:50:14 UTC
ia64 stable
Comment 9 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-11-23 13:28:59 UTC
x86 stable
Comment 10 Agostino Sarubbo gentoo-dev 2014-12-02 09:25:15 UTC
alpha stable
Comment 11 Agostino Sarubbo gentoo-dev 2014-12-04 08:36:12 UTC
ppc64 stable. Closing.