Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79000 - mysql init script : support for running more than one instance on the same server
Summary: mysql init script : support for running more than one instance on the same se...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 13:52 UTC by Mathias Gug
Modified: 2005-03-12 16:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for init script (mysql.init.patch,1.70 KB, patch)
2005-01-21 13:53 UTC, Mathias Gug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Gug 2005-01-21 13:52:25 UTC
I've hacked the init script so that the same script can be used to start different mysql instances.

The main configuration file for mysql is set in /etc/conf.d/ and then used by the script to start/stop mysqld_safe with the right configuration file.

Thanks to that, one can have more than one server configuration file in /etc/mysql/ and use symlink in init.d to manage the different instances.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mathias Gug 2005-01-21 13:53:18 UTC
Created attachment 49139 [details, diff]
Patch for init script
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-12 16:59:05 UTC
This is going into 4.0.24-r1 now.