Bug 55873 - start/stop script does not read config file.
start/stop script does not read config file.
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: mysql (Show other bugs)
7.2
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Patrick Macdonald
David Lawrence
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-07 21:04 EST by Itai Nahshon
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-11-07 21:04:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Itai Nahshon 2001-11-07 21:04:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17-14 i686)

Description of problem:
The start/stop script in /etc/rc.d/init.d/mysqld has filenames and
directories hard-coded. If I change the datadir in /etc/mycnf
immediately after installation, the initial  databases will be created
in the correct location but they will be owned by root and
the daemon will fail to start.

Version-Release number of selected component (if applicable):
mysql-3.23.41-1

How reproducible:
Always

Steps to Reproduce:
change datadir in /etc/my.cnf after installation (before first time that
mysqld is started).
Create empty directory (with the same name, owned by mysql).
Start mysql by running '/etc/rc.d/init.d/mysqld start'.
Comment 1 Trond Eivind Glomsrxd 2001-11-14 19:11:38 EST
mysql-3.23.44-2 now has the datadir in one location. Changing it is an
unsupported operation, but there's now less to change.

Note You need to log in before you can comment on or make changes to this bug.